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

Unified Diff: ash/wm/workspace/workspace_manager.cc

Issue 11421006: Desktop aura: Break aura::Window::SetParent in two. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-add parent finding thing to web_contents_view_aura.cc. I guess it was necessary after all? Created 8 years, 1 month 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: ash/wm/workspace/workspace_manager.cc
diff --git a/ash/wm/workspace/workspace_manager.cc b/ash/wm/workspace/workspace_manager.cc
index 2ac379358642060452ef832ee0c5023e7126261a..312d8d304b79e0e3d53eced8ac25a37967068599 100644
--- a/ash/wm/workspace/workspace_manager.cc
+++ b/ash/wm/workspace/workspace_manager.cc
@@ -62,7 +62,7 @@ const int kInitialPauseTimeMS = 750;
void ReparentWindow(Window* window,
Window* new_parent,
Window* stack_beneath) {
- window->SetParent(new_parent);
+ window->SetParentTo(new_parent);
if (stack_beneath)
new_parent->StackChildBelow(window, stack_beneath);
for (size_t i = 0; i < window->transient_children().size(); ++i)

Powered by Google App Engine
This is Rietveld 408576698