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

Unified Diff: chrome/browser/ui/views/frame/native_browser_frame_factory_auralinux.cc

Issue 2408803002: Make it possible to launch chrome --mash with ozone_platform={wayland|x11}, chromeos=0 (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
Index: chrome/browser/ui/views/frame/native_browser_frame_factory_auralinux.cc
diff --git a/chrome/browser/ui/views/frame/native_browser_frame_factory_auralinux.cc b/chrome/browser/ui/views/frame/native_browser_frame_factory_auralinux.cc
index 7515c037292a73af9769b0c19ce9dc311ceb9b20..6801f1cf2373e2f49034d80dcb3d1285e1c6f07b 100644
--- a/chrome/browser/ui/views/frame/native_browser_frame_factory_auralinux.cc
+++ b/chrome/browser/ui/views/frame/native_browser_frame_factory_auralinux.cc
@@ -13,5 +13,9 @@ NativeBrowserFrame* NativeBrowserFrameFactory::Create(
BrowserView* browser_view) {
if (shell::ShellIsRemote())
return new BrowserFrameMus(browser_frame, browser_view);
+
+#if !defined(USE_OZONE)
return new DesktopBrowserFrameAuraLinux(browser_frame, browser_view);
+#endif
+ return nullptr;
fwang 2016/10/11 09:34:12 I think this should be #if !defined(USE_OZONE)
tonikitoo 2016/10/11 12:59:03 Done.
}

Powered by Google App Engine
This is Rietveld 408576698