summaryrefslogtreecommitdiffstats
path: root/components/wallpaper
diff options
context:
space:
mode:
authorxdai <xdai@chromium.org>2015-03-23 10:21:33 -0700
committerCommit bot <commit-bot@chromium.org>2015-03-23 17:21:58 +0000
commitd05f51c66370defa7ad2ed3e756a35bdbf727210 (patch)
tree4bd64a78be152b7d1e28778342173a43cd53af7a /components/wallpaper
parent2647def7ddcd4cac4fc4750962940e41a7422f13 (diff)
downloadchromium_src-d05f51c66370defa7ad2ed3e756a35bdbf727210.zip
chromium_src-d05f51c66370defa7ad2ed3e756a35bdbf727210.tar.gz
chromium_src-d05f51c66370defa7ad2ed3e756a35bdbf727210.tar.bz2
Make the lifetime of wallpaper manager more clear.
g_wallpaper_manager was never destroyed before the fix. It should explicitly be destroyed. BUG=171694 Review URL: https://codereview.chromium.org/1010443003 Cr-Commit-Position: refs/heads/master@{#321800}
Diffstat (limited to 'components/wallpaper')
-rw-r--r--components/wallpaper/wallpaper_manager_base.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/components/wallpaper/wallpaper_manager_base.h b/components/wallpaper/wallpaper_manager_base.h
index 06335af..65e1c75 100644
--- a/components/wallpaper/wallpaper_manager_base.h
+++ b/components/wallpaper/wallpaper_manager_base.h
@@ -239,10 +239,6 @@ class WALLPAPER_EXPORT WallpaperManagerBase
virtual void SetCommandLineForTesting(base::CommandLine* command_line);
- // Indicates imminent shutdown, allowing the WallpaperManager to remove any
- // observers it has registered.
- virtual void Shutdown() = 0;
-
// Adds PowerManagerClient, TimeZoneSettings and CrosSettings observers.
virtual void AddObservers() = 0;