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

Unified Diff: chrome/browser/memory/tab_manager_browsertest.cc

Issue 2171123002: chrome/browser/memory: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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/memory/tab_manager.cc ('k') | chrome/browser/memory/tab_manager_delegate_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/memory/tab_manager_browsertest.cc
diff --git a/chrome/browser/memory/tab_manager_browsertest.cc b/chrome/browser/memory/tab_manager_browsertest.cc
index 579ba31ed021bb970b13e7d6101dceefa4e046f6..8813ee2be3f4765826904073b5c0078a1e1dc6fb 100644
--- a/chrome/browser/memory/tab_manager_browsertest.cc
+++ b/chrome/browser/memory/tab_manager_browsertest.cc
@@ -79,7 +79,7 @@ IN_PROC_BROWSER_TEST_F(TabManagerTest, TabManagerBasics) {
browser()->OpenURL(open3);
load3.Wait();
- auto tsm = browser()->tab_strip_model();
+ auto* tsm = browser()->tab_strip_model();
EXPECT_EQ(3, tsm->count());
// Navigate the current (third) tab to a different URL, so we can test
@@ -308,7 +308,7 @@ IN_PROC_BROWSER_TEST_F(TabManagerTest, ProtectRecentlyUsedTabs) {
base::SimpleTestTickClock test_clock_;
tab_manager->set_test_tick_clock(&test_clock_);
- auto tsm = browser()->tab_strip_model();
+ auto* tsm = browser()->tab_strip_model();
// Set the minimum time of protection.
tab_manager->minimum_protection_time_ =
@@ -368,7 +368,7 @@ IN_PROC_BROWSER_TEST_F(TabManagerTest, ProtectVideoTabs) {
browser(), GURL(chrome::kChromeUIAboutURL), NEW_BACKGROUND_TAB,
ui_test_utils::BROWSER_TEST_WAIT_FOR_NAVIGATION);
- auto tab = browser()->tab_strip_model()->GetWebContentsAt(1);
+ auto* tab = browser()->tab_strip_model()->GetWebContentsAt(1);
// Simulate that a video stream is now being captured.
content::MediaStreamDevice fake_media_device(
« no previous file with comments | « chrome/browser/memory/tab_manager.cc ('k') | chrome/browser/memory/tab_manager_delegate_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698