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

Unified Diff: chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc

Issue 2188393002: chrome/browser/renderer_host: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc
diff --git a/chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc b/chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc
index c8b901061b7e6278363578b6f7ff85ebe0f767de..dfebfa9efeb16ca5dd77c6aa13ab3a7bff65b665 100644
--- a/chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc
+++ b/chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc
@@ -583,7 +583,7 @@ IN_PROC_BROWSER_TEST_F(SitePerProcessTextInputManagerTest,
GetFrame(IndexVector{1}), GetFrame(IndexVector{1, 0}),
GetFrame(IndexVector{1, 1}), GetFrame(IndexVector{2})};
std::vector<content::RenderWidgetHostView*> views;
- for (auto frame : frames)
+ for (auto* frame : frames)
views.push_back(frame->GetView());
for (size_t i = 0; i < frames.size(); ++i)
AddInputFieldToFrame(frames[i], "text", "", true);
@@ -603,7 +603,7 @@ IN_PROC_BROWSER_TEST_F(SitePerProcessTextInputManagerTest,
bounds_observer.Wait();
};
- for (auto view : views)
+ for (auto* view : views)
send_tab_insert_text_wait_for_bounds_change(view);
}
@@ -620,7 +620,7 @@ IN_PROC_BROWSER_TEST_F(SitePerProcessTextInputManagerTest,
CreateIframePage("a()");
std::vector<content::RenderFrameHost*> frames{GetFrame(IndexVector{})};
std::vector<content::RenderWidgetHostView*> views;
- for (auto frame : frames)
+ for (auto* frame : frames)
views.push_back(frame->GetView());
for (size_t i = 0; i < frames.size(); ++i)
AddInputFieldToFrame(frames[i], "text", "", true);
@@ -641,7 +641,7 @@ IN_PROC_BROWSER_TEST_F(SitePerProcessTextInputManagerTest,
range_observer.Wait();
};
- for (auto view : views)
+ for (auto* view : views)
send_tab_set_composition_wait_for_bounds_change(view);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698