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 8a3205f4300ca933731c4dd27e8c0ce30634b101..8a308510d7d692d6fbadb0674effa624f17bf88a 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_; |