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

Unified Diff: ash/mus/sysui_application.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 | « ash/host/ash_window_tree_host_unified.cc ('k') | blimp/engine/app/ui/blimp_window_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/sysui_application.cc
diff --git a/ash/mus/sysui_application.cc b/ash/mus/sysui_application.cc
index a43fb159f9ff270935e56f2571062d269fb66399..037c67a0e83eeee4fd908b388841830309bf5c1a 100644
--- a/ash/mus/sysui_application.cc
+++ b/ash/mus/sysui_application.cc
@@ -101,7 +101,8 @@ class AshWindowTreeHostMus : public AshWindowTreeHostPlatform {
public:
explicit AshWindowTreeHostMus(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 | « ash/host/ash_window_tree_host_unified.cc ('k') | blimp/engine/app/ui/blimp_window_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698