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

Unified Diff: chrome/browser/ui/cocoa/download/download_item_cell.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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: chrome/browser/ui/cocoa/download/download_item_cell.h
diff --git a/chrome/browser/ui/cocoa/download/download_item_cell.h b/chrome/browser/ui/cocoa/download/download_item_cell.h
index 3ccdb2b35a56f7ff9e26f12090cff082e8a30d1e..4296e43634b614f839c2757084274a8cdbc30268 100644
--- a/chrome/browser/ui/cocoa/download/download_item_cell.h
+++ b/chrome/browser/ui/cocoa/download/download_item_cell.h
@@ -5,11 +5,11 @@
#ifndef CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_ITEM_CELL_H_
#define CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_ITEM_CELL_H_
-#include "base/memory/scoped_ptr.h"
-#import "chrome/browser/ui/cocoa/gradient_button_cell.h"
+#include <memory>
#include "base/files/file_path.h"
#include "base/time/time.h"
+#import "chrome/browser/ui/cocoa/gradient_button_cell.h"
class DownloadItemModel;
@class IndeterminateProgressTimer;
@@ -48,7 +48,7 @@ enum DownloadItemMousePosition {
CGFloat statusAlpha_;
base::scoped_nsobject<NSAnimation> toggleStatusVisibilityAnimation_;
- scoped_ptr<ui::ThemeProvider> themeProvider_;
+ std::unique_ptr<ui::ThemeProvider> themeProvider_;
}
@property(nonatomic, copy) NSString* secondaryTitle;

Powered by Google App Engine
This is Rietveld 408576698