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

Unified Diff: ash/wm/root_window_layout_manager.cc

Issue 10834308: Reland "Fix white flash when user signs out and fix wallpaper animation regression" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nit Created 8 years, 4 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/root_window_controller.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/root_window_layout_manager.cc
diff --git a/ash/wm/root_window_layout_manager.cc b/ash/wm/root_window_layout_manager.cc
index 2b5df2f0714ecc9738cf39304340e4670c4612b7..99a9774ac557f83c509821864aee6a477b01a9f8 100644
--- a/ash/wm/root_window_layout_manager.cc
+++ b/ash/wm/root_window_layout_manager.cc
@@ -39,8 +39,11 @@ void RootWindowLayoutManager::OnWindowResized() {
for (j = (*i)->children().begin(); j != (*i)->children().end(); ++j)
(*j)->SetBounds(fullscreen_bounds);
}
- internal::DesktopBackgroundWidgetController* background =
- owner_->GetProperty(internal::kWindowDesktopComponent);
+ internal::DesktopBackgroundWidgetController* background = NULL;
+ internal::ComponentWrapper* wrapper =
+ owner_->GetProperty(internal::kComponentWrapper);
+ if (wrapper)
+ background = wrapper->component();
if (background)
background->SetBounds(fullscreen_bounds);
}
« no previous file with comments | « ash/root_window_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698