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

Unified Diff: chrome/browser/ui/views/extensions/extension_popup.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/extensions/extension_popup.h
diff --git a/chrome/browser/ui/views/extensions/extension_popup.h b/chrome/browser/ui/views/extensions/extension_popup.h
index 1ddbf6f1fe8274aabe3501001ce81f47066056e8..af79bdf78010e423cfde329d0b992960aa702215 100644
--- a/chrome/browser/ui/views/extensions/extension_popup.h
+++ b/chrome/browser/ui/views/extensions/extension_popup.h
@@ -51,7 +51,7 @@ class ExtensionPopup : public views::BubbleDialogDelegateView,
// The actual display of the popup is delayed until the page contents
// finish loading in order to minimize UI flashing and resizing.
static ExtensionPopup* ShowPopup(
- scoped_ptr<extensions::ExtensionViewHost> host,
+ std::unique_ptr<extensions::ExtensionViewHost> host,
views::View* anchor_view,
views::BubbleBorder::Arrow arrow,
ShowAction show_action);
@@ -110,7 +110,7 @@ class ExtensionPopup : public views::BubbleDialogDelegateView,
void OnDevToolsStateChanged(content::DevToolsAgentHost*, bool attached);
// The contained host for the view.
- scoped_ptr<extensions::ExtensionViewHost> host_;
+ std::unique_ptr<extensions::ExtensionViewHost> host_;
// Flag used to indicate if the pop-up should open a devtools window once
// it is shown inspecting it.

Powered by Google App Engine
This is Rietveld 408576698