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

Unified Diff: chrome/browser/ui/browser_instant_controller_unittest.cc

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
« no previous file with comments | « chrome/browser/ui/browser_instant_controller.h ('k') | chrome/browser/ui/browser_navigator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_instant_controller_unittest.cc
diff --git a/chrome/browser/ui/browser_instant_controller_unittest.cc b/chrome/browser/ui/browser_instant_controller_unittest.cc
index 37223cbcce9c1f074b032bd65a583905863c152f..8e6127fcf6079625c2a5729084e6a0da6fc60e32 100644
--- a/chrome/browser/ui/browser_instant_controller_unittest.cc
+++ b/chrome/browser/ui/browser_instant_controller_unittest.cc
@@ -209,10 +209,10 @@ TEST_F(BrowserInstantControllerTest, GoogleBaseURLUpdated) {
}
TEST_F(BrowserInstantControllerTest, BrowserWindowLifecycle) {
- scoped_ptr<BrowserWindow> window(CreateBrowserWindow());
+ std::unique_ptr<BrowserWindow> window(CreateBrowserWindow());
Browser::CreateParams params(profile());
params.window = window.get();
- scoped_ptr<Browser> browser(new Browser(params));
+ std::unique_ptr<Browser> browser(new Browser(params));
InstantServiceObserver* bic;
bic = browser->instant_controller();
EXPECT_TRUE(IsInstantServiceObserver(bic))
« no previous file with comments | « chrome/browser/ui/browser_instant_controller.h ('k') | chrome/browser/ui/browser_navigator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698