summaryrefslogtreecommitdiffstats
path: root/ash/desktop_background/desktop_background_controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/desktop_background/desktop_background_controller.cc')
-rw-r--r--ash/desktop_background/desktop_background_controller.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/ash/desktop_background/desktop_background_controller.cc b/ash/desktop_background/desktop_background_controller.cc
index 6461c97..022ca0b 100644
--- a/ash/desktop_background/desktop_background_controller.cc
+++ b/ash/desktop_background/desktop_background_controller.cc
@@ -52,7 +52,7 @@ struct DesktopBackgroundController::WallpaperData {
// loading.
class DesktopBackgroundController::WallpaperOperation
: public base::RefCountedThreadSafe<
- DesktopBackgroundController::WallpaperOperation> {
+ DesktopBackgroundController::WallpaperOperation> {
public:
explicit WallpaperOperation(int index) : index_(index) {
}
@@ -79,6 +79,8 @@ class DesktopBackgroundController::WallpaperOperation
friend class base::RefCountedThreadSafe<
DesktopBackgroundController::WallpaperOperation>;
+ ~WallpaperOperation() {}
+
base::CancellationFlag cancel_flag_;
scoped_ptr<WallpaperData> wallpaper_data_;