~townsend/unity/no-change-rebuild

« back to all changes in this revision

Viewing changes to panel/PanelView.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:
73
73
 
74
74
  bool IsMouseInsideIndicator(nux::Point const& mouse_position) const;
75
75
 
76
 
  ui::EdgeBarrierSubscriber::Result HandleBarrierEvent(ui::PointerBarrierWrapper* owner, ui::BarrierEvent::Ptr event) override;
 
76
  ui::EdgeBarrierSubscriber::Result HandleBarrierEvent(ui::PointerBarrierWrapper::Ptr const& owner, ui::BarrierEvent::Ptr event) override;
77
77
 
78
78
protected:
79
79
  void Draw(nux::GraphicsEngine& GfxContext, bool force_draw);