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

Unified Diff: ash/desktop_background/desktop_background_controller.cc

Issue 10386206: RefCounted types should not have public destructors, chromeos edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to r143931 Created 8 years, 6 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 | « no previous file | chrome/browser/chromeos/extensions/file_browser_event_router.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_browser_event_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698