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

Unified Diff: mash/wm/window_manager.cc

Issue 1848653006: Random wm frame painting fixes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: override Created 4 years, 9 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 | « mash/wm/property_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/window_manager.cc
diff --git a/mash/wm/window_manager.cc b/mash/wm/window_manager.cc
index 4ebeb9a81eb34f5bb25774cd61d0e545636bcfec..5bcd15e1a7424491c0ec6a58249005a16e2bc1f9 100644
--- a/mash/wm/window_manager.cc
+++ b/mash/wm/window_manager.cc
@@ -113,9 +113,8 @@ mus::Window* WindowManager::NewTopLevelWindow(
root_controller_->GetWindowForContainer(container)->AddChild(window);
if (provide_non_client_frame) {
- // NonClientFrameController deletes itself when |window| is destroyed.
- new NonClientFrameController(root_controller_->GetConnector(), window,
- root_controller_->window_manager_client());
+ NonClientFrameController::Create(root_controller_->GetConnector(), window,
+ root_controller_->window_manager_client());
}
root_controller_->IncrementWindowCount();
« no previous file with comments | « mash/wm/property_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698