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

Unified Diff: chrome/browser/memory/tab_manager_unittest.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
Index: chrome/browser/memory/tab_manager_unittest.cc
diff --git a/chrome/browser/memory/tab_manager_unittest.cc b/chrome/browser/memory/tab_manager_unittest.cc
index 9304b913203e9e9e27ea1bb0855e82ea2e9625d9..207aac9e07b4834642e7b97e29b6195389f16792 100644
--- a/chrome/browser/memory/tab_manager_unittest.cc
+++ b/chrome/browser/memory/tab_manager_unittest.cc
@@ -551,9 +551,9 @@ TEST_F(TabManagerTest, MAYBE_ChildProcessNotifications) {
&TabManagerTest::NotifyRendererProcess, base::Unretained(this));
// Create two dummy tabs.
- auto tab0 = CreateWebContents();
- auto tab1 = CreateWebContents();
- auto tab2 = CreateWebContents();
+ auto* tab0 = CreateWebContents();
+ auto* tab1 = CreateWebContents();
+ auto* tab2 = CreateWebContents();
tabstrip.AppendWebContents(tab0, true); // Foreground tab.
tabstrip.AppendWebContents(tab1, false); // Background tab.
tabstrip.AppendWebContents(tab2, false); // Background tab.

Powered by Google App Engine
This is Rietveld 408576698