Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(740)

Unified Diff: ash/mus/native_widget_factory_mus.cc

Issue 2429173005: Mus+Ash: Replace (Server)WindowSurface with (Server)WindowCompositorFrameSink (Closed)
Patch Set: Rebased Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/mus/frame/detached_title_area_renderer.cc ('k') | ash/mus/non_client_frame_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/native_widget_factory_mus.cc
diff --git a/ash/mus/native_widget_factory_mus.cc b/ash/mus/native_widget_factory_mus.cc
index 6e9bceec804e9d1b7ace300a27f84f6868b3359e..9660223a79c9bc1dd0fd61e8785a90fff88af5c2 100644
--- a/ash/mus/native_widget_factory_mus.cc
+++ b/ash/mus/native_widget_factory_mus.cc
@@ -28,9 +28,9 @@ views::NativeWidget* CreateNativeWidgetMus(
return nullptr;
std::map<std::string, std::vector<uint8_t>> props;
views::NativeWidgetMus::ConfigurePropertiesForNewWindow(init_params, &props);
- return new views::NativeWidgetMus(delegate,
- window_manager->NewTopLevelWindow(&props),
- ui::mojom::SurfaceType::DEFAULT);
+ return new views::NativeWidgetMus(
+ delegate, window_manager->NewTopLevelWindow(&props),
+ ui::mojom::CompositorFrameSinkType::DEFAULT);
}
} // namespace
« no previous file with comments | « ash/mus/frame/detached_title_area_renderer.cc ('k') | ash/mus/non_client_frame_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698