adds extra param for ui compositor creation

This commit is contained in:
Gellert Hegyi 2017-10-19 21:28:14 +02:00 committed by Cheng Zhao
parent 5d79dbc9a1
commit a47497bf18

View file

@ -302,7 +302,7 @@ OffScreenRenderWidgetHostView::OffScreenRenderWidgetHostView(
compositor_.reset( compositor_.reset(
new ui::Compositor(context_factory_private->AllocateFrameSinkId(), new ui::Compositor(context_factory_private->AllocateFrameSinkId(),
content::GetContextFactory(), context_factory_private, content::GetContextFactory(), context_factory_private,
base::ThreadTaskRunnerHandle::Get())); base::ThreadTaskRunnerHandle::Get(), false));
compositor_->SetAcceleratedWidget(native_window_->GetAcceleratedWidget()); compositor_->SetAcceleratedWidget(native_window_->GetAcceleratedWidget());
compositor_->SetRootLayer(root_layer_.get()); compositor_->SetRootLayer(root_layer_.get());
#endif #endif