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

Unified Diff: chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.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/location_bar/manage_passwords_decoration.h
diff --git a/chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.h b/chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.h
index 4fe37f8bfac1431052f994231ebc2caa881f6896..d1b01e34a82c6d6320f5ca92a6909eeb8c6096a2 100644
--- a/chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.h
@@ -7,9 +7,10 @@
#import <Cocoa/Cocoa.h>
+#include <memory>
+
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/cocoa/location_bar/image_decoration.h"
#include "chrome/browser/ui/passwords/manage_passwords_icon.h"
@@ -70,7 +71,7 @@ class ManagePasswordsDecoration : public ImageDecoration {
LocationBarViewMac* location_bar_; // Weak, owns us.
// The platform-independent interface.
- scoped_ptr<ManagePasswordsIconCocoa> icon_;
+ std::unique_ptr<ManagePasswordsIconCocoa> icon_;
DISALLOW_COPY_AND_ASSIGN(ManagePasswordsDecoration);
};

Powered by Google App Engine
This is Rietveld 408576698