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

Unified Diff: chrome/browser/extensions/api/tab_capture/offscreen_tab.h

Issue 1871713002: Convert //chrome/browser/extensions from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and fix header 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/extensions/api/tab_capture/offscreen_tab.h
diff --git a/chrome/browser/extensions/api/tab_capture/offscreen_tab.h b/chrome/browser/extensions/api/tab_capture/offscreen_tab.h
index afc252c707dadd3e42fe6544bc2cc065cac9a13f..20d88e7445fa07c30d382f19de84c8881a5f1f15 100644
--- a/chrome/browser/extensions/api/tab_capture/offscreen_tab.h
+++ b/chrome/browser/extensions/api/tab_capture/offscreen_tab.h
@@ -186,10 +186,10 @@ class OffscreenTab : protected content::WebContentsDelegate,
// A non-shared off-the-record profile based on the profile of the extension
// background page.
- const scoped_ptr<Profile> profile_;
+ const std::unique_ptr<Profile> profile_;
// The WebContents containing the off-screen tab's page.
- scoped_ptr<content::WebContents> offscreen_tab_web_contents_;
+ std::unique_ptr<content::WebContents> offscreen_tab_web_contents_;
// The time at which Start() finished creating |offscreen_tab_web_contents_|.
base::TimeTicks start_time_;

Powered by Google App Engine
This is Rietveld 408576698