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

Unified Diff: ui/ozone/platform/wayland/ozone_platform_wayland.cc

Issue 2389053003: [ozone/wayland] Use FakeDisplayDelegate in order to make "off device" launch work (Closed)
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/wayland/ozone_platform_wayland.cc
diff --git a/ui/ozone/platform/wayland/ozone_platform_wayland.cc b/ui/ozone/platform/wayland/ozone_platform_wayland.cc
index 3ca9242be62950f4df7676efb1b3ebdcfaed65c0..39b8d64aeee3ebc9916c595309129ad3d0377c36 100644
--- a/ui/ozone/platform/wayland/ozone_platform_wayland.cc
+++ b/ui/ozone/platform/wayland/ozone_platform_wayland.cc
@@ -5,7 +5,7 @@
#include "ui/ozone/platform/wayland/ozone_platform_wayland.h"
#include "base/memory/ptr_util.h"
-#include "ui/ozone/common/native_display_delegate_ozone.h"
+#include "ui/display/fake_display_delegate.h"
#include "ui/ozone/common/stub_overlay_manager.h"
#include "ui/ozone/platform/wayland/wayland_connection.h"
#include "ui/ozone/platform/wayland/wayland_surface_factory.h"
@@ -62,7 +62,7 @@ class OzonePlatformWayland : public OzonePlatform {
std::unique_ptr<NativeDisplayDelegate> CreateNativeDisplayDelegate()
override {
- return base::WrapUnique(new NativeDisplayDelegateOzone);
+ return base::MakeUnique<display::FakeDisplayDelegate>();
}
void InitializeUI() override {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698