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

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_ozone.cc

Issue 2830933006: Obsolete the ozone code path in ui/views/ (Closed)
Patch Set: Created 3 years, 8 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 | « ui/views/widget/desktop_aura/desktop_screen_ozone.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/desktop_window_tree_host_ozone.cc
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_ozone.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_ozone.cc
index 1a78a9ab57ef7a3f27f09a630285ccf685ac01db..5834cffc5a0edd93be9d4e0779ac195d073cfe24 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_ozone.cc
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_ozone.cc
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/aura/window_tree_host.h"
-#include "ui/views/widget/desktop_aura/desktop_factory_ozone.h"
#include "ui/views/widget/desktop_aura/desktop_window_tree_host.h"
namespace views {
@@ -11,10 +9,8 @@ namespace views {
DesktopWindowTreeHost* DesktopWindowTreeHost::Create(
internal::NativeWidgetDelegate* native_widget_delegate,
DesktopNativeWidgetAura* desktop_native_widget_aura) {
- DesktopFactoryOzone* d_factory = DesktopFactoryOzone::GetInstance();
-
- return d_factory->CreateWindowTreeHost(native_widget_delegate,
- desktop_native_widget_aura);
+ NOTREACHED() << "Ozone builds should use DesktopWindowTreeHostMus codepath.";
+ return nullptr;
}
} // namespace views
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_screen_ozone.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698