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

Unified Diff: ash/desktop_background/desktop_background_controller.cc

Issue 10915046: Revert 154611 - "Forget about DesktopBackgroundView if it was deleted" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: ash/desktop_background/desktop_background_controller.cc
diff --git a/ash/desktop_background/desktop_background_controller.cc b/ash/desktop_background/desktop_background_controller.cc
index bdbad059050002aff5d767ed9243a0b0d30f8769..0bd8b3542efdffc1fbf6f4ec800ef6d77c570ab8 100644
--- a/ash/desktop_background/desktop_background_controller.cc
+++ b/ash/desktop_background/desktop_background_controller.cc
@@ -246,16 +246,6 @@ void DesktopBackgroundController::MoveDesktopToLockedContainer() {
GetBackgroundContainerId(true));
}
-void DesktopBackgroundController::CleanupView(aura::RootWindow* root_window) {
- internal::ComponentWrapper *wrapper;
- wrapper = root_window->GetProperty(internal::kComponentWrapper);
- if (NULL == wrapper)
- return;
- if (wrapper->GetComponent(false))
- wrapper->GetComponent(false)->CleanupWidget();
-}
-
-
void DesktopBackgroundController::MoveDesktopToUnlockedContainer() {
if (!locked_)
return;
« no previous file with comments | « ash/desktop_background/desktop_background_controller.h ('k') | ash/desktop_background/desktop_background_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698