| Index: ash/laser/laser_pointer_view.cc
|
| diff --git a/ash/laser/laser_pointer_view.cc b/ash/laser/laser_pointer_view.cc
|
| index aa39b8878f959145e2eb9164a65bfb0989d1a516..81c1a3e1f24b451d633ce8f94f47c9fef50d0894 100644
|
| --- a/ash/laser/laser_pointer_view.cc
|
| +++ b/ash/laser/laser_pointer_view.cc
|
| @@ -212,14 +212,14 @@ LaserPointerView::LaserPointerView(base::TimeDelta life_duration,
|
| ->context_factory_private()
|
| ->AllocateFrameSinkId()),
|
| frame_sink_support_(this,
|
| - aura::Env::GetInstance()
|
| - ->context_factory_private()
|
| - ->GetSurfaceManager(),
|
| frame_sink_id_,
|
| false /* is_root */,
|
| - true /* handles_frame_sink_id_invalidation */,
|
| - true /* needs_sync_points */),
|
| + true /* handles_frame_sink_id_invalidation */),
|
| weak_ptr_factory_(this) {
|
| + constexpr bool needs_sync_points = true;
|
| + frame_sink_support_.Init(
|
| + aura::Env::GetInstance()->context_factory_private()->GetSurfaceManager(),
|
| + needs_sync_points);
|
| widget_.reset(new views::Widget);
|
| views::Widget::InitParams params;
|
| params.type = views::Widget::InitParams::TYPE_WINDOW_FRAMELESS;
|
|
|