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

Unified Diff: chrome/browser/ui/views/frame/immersive_mode_controller_ash_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
Index: chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc
diff --git a/chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc b/chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc
index aaa8cdd6ecd74877975c894593813b03583e4f82..75fc111a8669e665f83760e2d262d4d27afaad1b 100644
--- a/chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc
+++ b/chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc
@@ -53,7 +53,7 @@ class ImmersiveModeControllerAshTest : public TestWithBrowserView {
// is used to trigger changes in whether the shelf is auto hidden and
// whether a "light bar" version of the tab strip is used when the
// top-of-window views are hidden.
- scoped_ptr<FullscreenNotificationObserver> waiter(
+ std::unique_ptr<FullscreenNotificationObserver> waiter(
new FullscreenNotificationObserver());
chrome::ToggleFullscreenMode(browser());
waiter->Wait();
@@ -63,7 +63,7 @@ class ImmersiveModeControllerAshTest : public TestWithBrowserView {
void SetTabFullscreen(bool tab_fullscreen) {
content::WebContents* web_contents =
browser_view()->GetContentsWebViewForTest()->GetWebContents();
- scoped_ptr<FullscreenNotificationObserver> waiter(
+ std::unique_ptr<FullscreenNotificationObserver> waiter(
new FullscreenNotificationObserver());
if (tab_fullscreen) {
browser()
@@ -98,7 +98,7 @@ class ImmersiveModeControllerAshTest : public TestWithBrowserView {
// Not owned.
ImmersiveModeController* controller_;
- scoped_ptr<ImmersiveRevealedLock> revealed_lock_;
+ std::unique_ptr<ImmersiveRevealedLock> revealed_lock_;
DISALLOW_COPY_AND_ASSIGN(ImmersiveModeControllerAshTest);
};

Powered by Google App Engine
This is Rietveld 408576698