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

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

Issue 2228403003: content: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 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: 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 7177dab3931984d4cf7b714d009305ee3815b849..83bda69994eedbfab092b8c1fb68f738c1c7c4ea 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
@@ -180,7 +180,7 @@ TEST_F(FrameTreeNodeBlameContextTest, FrameCreation) {
EXPECT_NE(nullptr, node);
if (event->HasArg("snapshot")) {
ExpectFrameTreeNodeSnapshot(event);
- EXPECT_FALSE(ContainsValue(snapshot_traced, node));
+ EXPECT_FALSE(base::ContainsValue(snapshot_traced, node));
snapshot_traced.insert(node);
std::string parent_id = GetParentNodeID(event);
EXPECT_FALSE(parent_id.empty());
@@ -188,7 +188,7 @@ TEST_F(FrameTreeNodeBlameContextTest, FrameCreation) {
tree()->FindByID(strtol(parent_id.c_str(), nullptr, 16)));
} else {
EXPECT_EQ(TRACE_EVENT_PHASE_CREATE_OBJECT, event->phase);
- EXPECT_FALSE(ContainsValue(creation_traced, node));
+ EXPECT_FALSE(base::ContainsValue(creation_traced, node));
creation_traced.insert(node);
}
}
@@ -229,7 +229,7 @@ TEST_F(FrameTreeNodeBlameContextTest, FrameDeletion) {
for (auto* event : events) {
ExpectFrameTreeNodeObject(event);
int id = strtol(event->id.c_str(), nullptr, 16);
- EXPECT_TRUE(ContainsValue(node_ids, id));
+ EXPECT_TRUE(base::ContainsValue(node_ids, id));
node_ids.erase(id);
}
}
« no previous file with comments | « content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ('k') | content/browser/host_zoom_map_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698