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

Unified Diff: chrome/browser/ui/views/frame/browser_window_property_manager_win.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/frame/browser_window_property_manager_win.h
diff --git a/chrome/browser/ui/views/frame/browser_window_property_manager_win.h b/chrome/browser/ui/views/frame/browser_window_property_manager_win.h
index e157fb2878fccd8d77809c4d8a2706265fd518bf..0f3e189fafb0078a5386bfa7f962052cfef63bd9 100644
--- a/chrome/browser/ui/views/frame/browser_window_property_manager_win.h
+++ b/chrome/browser/ui/views/frame/browser_window_property_manager_win.h
@@ -5,8 +5,9 @@
#ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_WINDOW_PROPERTY_MANAGER_WIN_H_
#define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_WINDOW_PROPERTY_MANAGER_WIN_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "components/prefs/pref_change_registrar.h"
class BrowserView;
@@ -17,8 +18,8 @@ class BrowserWindowPropertyManager {
public:
virtual ~BrowserWindowPropertyManager();
- static scoped_ptr<BrowserWindowPropertyManager>
- CreateBrowserWindowPropertyManager(BrowserView* view, HWND hwnd);
+ static std::unique_ptr<BrowserWindowPropertyManager>
+ CreateBrowserWindowPropertyManager(BrowserView* view, HWND hwnd);
private:
BrowserWindowPropertyManager(BrowserView* view, HWND hwnd);

Powered by Google App Engine
This is Rietveld 408576698