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

Unified Diff: ash/host/ash_window_tree_host_unified.cc

Issue 1999083002: Finish eliminating PlatformWindowMus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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 | ash/mus/sysui_application.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/host/ash_window_tree_host_unified.cc
diff --git a/ash/host/ash_window_tree_host_unified.cc b/ash/host/ash_window_tree_host_unified.cc
index 7f6869b498b7162c232a92eda26c8eac6b0c7daf..ea96b99f88a79e8811ca3fde9472411f49647241 100644
--- a/ash/host/ash_window_tree_host_unified.cc
+++ b/ash/host/ash_window_tree_host_unified.cc
@@ -15,6 +15,7 @@
#include "ui/aura/window_targeter.h"
#include "ui/compositor/compositor.h"
#include "ui/gfx/geometry/insets.h"
+#include "ui/gfx/native_widget_types.h"
#include "ui/platform_window/stub/stub_window.h"
namespace ash {
@@ -50,7 +51,8 @@ class UnifiedEventTargeter : public aura::WindowTargeter {
AshWindowTreeHostUnified::AshWindowTreeHostUnified(
const gfx::Rect& initial_bounds)
: AshWindowTreeHostPlatform() {
- std::unique_ptr<ui::PlatformWindow> window(new ui::StubWindow(this));
+ std::unique_ptr<ui::PlatformWindow> window(
+ new ui::StubWindow(this, gfx::kNullAcceleratedWidget));
window->SetBounds(initial_bounds);
SetPlatformWindow(std::move(window));
}
« no previous file with comments | « no previous file | ash/mus/sysui_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698