~3v1n0/unity/scale-window-cast-protection

« back to all changes in this revision

Viewing changes to launcher/EdgeBarrierController.h

  • Committer: CI Train Bot
  • Author(s): Andrea Azzarone
  • Date: 2015-01-15 15:02:24 UTC
  • mfrom: (3902.1.2 unity)
  • Revision ID: ci-train-bot@canonical.com-20150115150224-j983j6pma2buh99t
Use std::weak_ptr to avoid referencing an invalid barrier. Fixes: #1238063
Approved by: Stephen M. Webb, Marco Trevisan (Treviño)

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
  };
38
38
 
39
39
  virtual ~EdgeBarrierSubscriber() {}
40
 
  virtual Result HandleBarrierEvent(PointerBarrierWrapper* owner, BarrierEvent::Ptr event) = 0;
 
40
  virtual Result HandleBarrierEvent(PointerBarrierWrapper::Ptr const& owner, BarrierEvent::Ptr event) = 0;
41
41
};
42
42
 
43
43
class EdgeBarrierController : public sigc::trackable