| Index: views/widget/native_widget_wayland.cc
|
| diff --git a/views/widget/native_widget_wayland.cc b/views/widget/native_widget_wayland.cc
|
| index 0f5616eb73bcf6f14c879152bec4dd8392dec609..d85db33acc7dc5706ed43a20c626f633a598bda9 100644
|
| --- a/views/widget/native_widget_wayland.cc
|
| +++ b/views/widget/native_widget_wayland.cc
|
| @@ -83,8 +83,8 @@ void NativeWidgetWayland::InitNativeWidget(const Widget::InitParams& params) {
|
| SetNativeWindowProperty(kNativeWidgetKey, this);
|
|
|
| if (View::get_use_acceleration_when_possible()) {
|
| - if (Widget::compositor_factory()) {
|
| - compositor_ = (*Widget::compositor_factory())();
|
| + if (ui::Compositor::compositor_factory()) {
|
| + compositor_ = (*ui::Compositor::compositor_factory())(this);
|
| } else {
|
| compositor_ = ui::Compositor::Create(this,
|
| egl_window_,
|
|
|