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

Unified Diff: chrome/browser/ui/views/elevation_icon_setter.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/views/elevation_icon_setter.h
diff --git a/chrome/browser/ui/views/elevation_icon_setter.h b/chrome/browser/ui/views/elevation_icon_setter.h
index 35d8865dcc2ad83c38699ca6816b54568d5ee164..be9afb44def70569c468b540663aae41bbe5a2da 100644
--- a/chrome/browser/ui/views/elevation_icon_setter.h
+++ b/chrome/browser/ui/views/elevation_icon_setter.h
@@ -5,9 +5,10 @@
#ifndef CHROME_BROWSER_UI_VIEWS_ELEVATION_ICON_SETTER_H_
#define CHROME_BROWSER_UI_VIEWS_ELEVATION_ICON_SETTER_H_
+#include <memory>
+
#include "base/callback_forward.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
class SkBitmap;
@@ -30,7 +31,8 @@ class ElevationIconSetter {
~ElevationIconSetter();
private:
- void SetButtonIcon(const base::Closure& callback, scoped_ptr<SkBitmap> icon);
+ void SetButtonIcon(const base::Closure& callback,
+ std::unique_ptr<SkBitmap> icon);
views::LabelButton* button_;
base::WeakPtrFactory<ElevationIconSetter> weak_factory_;
« no previous file with comments | « chrome/browser/ui/views/edit_search_engine_dialog.h ('k') | chrome/browser/ui/views/elevation_icon_setter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698