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

Unified Diff: chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm

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/cocoa/location_bar/zoom_decoration_browsertest.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm b/chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm
index 185c8c8419766ad7112e32aebd4dd3bdb8df6572..94d45ea34fd05bf8bf5fd0b493fe7c4a644bce50 100644
--- a/chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm
+++ b/chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm
@@ -74,7 +74,7 @@ class ZoomDecorationTest : public InProcessBrowserTest {
private:
bool should_quit_on_zoom_;
- scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_;
+ std::unique_ptr<content::HostZoomMap::Subscription> zoom_subscription_;
DISALLOW_COPY_AND_ASSIGN(ZoomDecorationTest);
};
@@ -144,7 +144,7 @@ IN_PROC_BROWSER_TEST_F(ZoomDecorationTest, HideOnInputProgress) {
Zoom(content::PAGE_ZOOM_IN);
EXPECT_TRUE(zoom_decoration->IsVisible());
- scoped_ptr<ToolbarModel> toolbar_model(new TestToolbarModel);
+ std::unique_ptr<ToolbarModel> toolbar_model(new TestToolbarModel);
toolbar_model->set_input_in_progress(true);
browser()->swap_toolbar_models(&toolbar_model);
GetLocationBar()->ZoomChangedForActiveTab(false);
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/page_action_decoration.h ('k') | chrome/browser/ui/cocoa/login_handler_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698