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

Unified Diff: chrome/browser/ui/views/ash/tab_scrubber.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/ash/tab_scrubber.h
diff --git a/chrome/browser/ui/views/ash/tab_scrubber.h b/chrome/browser/ui/views/ash/tab_scrubber.h
index ea63c3718d9224a95d0dfa561e0f6726e5f19419..668670e74b323361b6bedad0eb15de18cc23dd94 100644
--- a/chrome/browser/ui/views/ash/tab_scrubber.h
+++ b/chrome/browser/ui/views/ash/tab_scrubber.h
@@ -5,8 +5,9 @@
#ifndef CHROME_BROWSER_UI_VIEWS_ASH_TAB_SCRUBBER_H_
#define CHROME_BROWSER_UI_VIEWS_ASH_TAB_SCRUBBER_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/timer/timer.h"
#include "chrome/browser/ui/views/frame/immersive_mode_controller.h"
#include "chrome/browser/ui/views/tabs/tab_strip_observer.h"
@@ -107,7 +108,7 @@ class TabScrubber : public ui::EventHandler,
// Set if activation_delay had been explicitly set.
bool use_default_activation_delay_;
// Forces the tabs to be revealed if we are in immersive fullscreen.
- scoped_ptr<ImmersiveRevealedLock> immersive_reveal_lock_;
+ std::unique_ptr<ImmersiveRevealedLock> immersive_reveal_lock_;
content::NotificationRegistrar registrar_;
base::WeakPtrFactory<TabScrubber> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698