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

Unified Diff: chromecast/browser/cast_content_window.h

Issue 1875623002: Convert //chromecast from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « chromecast/browser/cast_content_browser_client_simple.cc ('k') | chromecast/browser/cast_content_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/cast_content_window.h
diff --git a/chromecast/browser/cast_content_window.h b/chromecast/browser/cast_content_window.h
index b0b8cc99d41687f4b2abdb63b721c022d3a0cc8e..af4ce42c3da4f0eb4f7152149713f6d1872460e3 100644
--- a/chromecast/browser/cast_content_window.h
+++ b/chromecast/browser/cast_content_window.h
@@ -5,8 +5,9 @@
#ifndef CHROMECAST_BROWSER_CAST_CONTENT_WINDOW_H_
#define CHROMECAST_BROWSER_CAST_CONTENT_WINDOW_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "content/public/browser/web_contents_observer.h"
namespace aura {
@@ -40,7 +41,7 @@ class CastContentWindow : public content::WebContentsObserver {
void CreateWindowTree(const gfx::Size& initial_size,
content::WebContents* web_contents);
- scoped_ptr<content::WebContents> CreateWebContents(
+ std::unique_ptr<content::WebContents> CreateWebContents(
const gfx::Size& initial_size,
content::BrowserContext* browser_context);
@@ -52,7 +53,7 @@ class CastContentWindow : public content::WebContentsObserver {
private:
#if defined(USE_AURA)
- scoped_ptr<aura::WindowTreeHost> window_tree_host_;
+ std::unique_ptr<aura::WindowTreeHost> window_tree_host_;
#endif
bool transparent_;
« no previous file with comments | « chromecast/browser/cast_content_browser_client_simple.cc ('k') | chromecast/browser/cast_content_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698