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

Unified Diff: content/browser/frame_host/frame_tree_node_blame_context_unittest.cc

Issue 2101943004: content: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase/update 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 | « content/browser/frame_host/frame_tree.cc ('k') | content/browser/frame_host/navigation_entry_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/frame_tree_node_blame_context_unittest.cc
diff --git a/content/browser/frame_host/frame_tree_node_blame_context_unittest.cc b/content/browser/frame_host/frame_tree_node_blame_context_unittest.cc
index f6d68a471d9f619f868865edbc4448bc64780963..7177dab3931984d4cf7b714d009305ee3815b849 100644
--- a/content/browser/frame_host/frame_tree_node_blame_context_unittest.cc
+++ b/content/browser/frame_host/frame_tree_node_blame_context_unittest.cc
@@ -173,7 +173,7 @@ TEST_F(FrameTreeNodeBlameContextTest, FrameCreation) {
std::set<FrameTreeNode*> creation_traced;
std::set<FrameTreeNode*> snapshot_traced;
- for (auto event : events) {
+ for (auto* event : events) {
ExpectFrameTreeNodeObject(event);
FrameTreeNode* node =
tree()->FindByID(strtol(event->id.c_str(), nullptr, 16));
@@ -226,7 +226,7 @@ TEST_F(FrameTreeNodeBlameContextTest, FrameDeletion) {
// The removal of all non-root nodes should be traced.
EXPECT_EQ(6u, events.size());
- for (auto event : events) {
+ for (auto* event : events) {
ExpectFrameTreeNodeObject(event);
int id = strtol(event->id.c_str(), nullptr, 16);
EXPECT_TRUE(ContainsValue(node_ids, id));
« no previous file with comments | « content/browser/frame_host/frame_tree.cc ('k') | content/browser/frame_host/navigation_entry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698