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

Unified Diff: content/browser/service_worker/service_worker_process_manager_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/service_worker/service_worker_process_manager_unittest.cc
diff --git a/content/browser/service_worker/service_worker_process_manager_unittest.cc b/content/browser/service_worker/service_worker_process_manager_unittest.cc
index 047bdb3760e97a44f7438bdcfe84ffedbc8b199f..45dbea44525a7b7904e56fe7525309ec335f1789 100644
--- a/content/browser/service_worker/service_worker_process_manager_unittest.cc
+++ b/content/browser/service_worker/service_worker_process_manager_unittest.cc
@@ -217,14 +217,14 @@ TEST_F(ServiceWorkerProcessManagerTest,
EXPECT_EQ(2, host1->worker_ref_count());
EXPECT_EQ(0, host2->worker_ref_count());
EXPECT_EQ(2u, instance_info.size());
- EXPECT_TRUE(ContainsKey(instance_info, kEmbeddedWorkerId1));
- EXPECT_TRUE(ContainsKey(instance_info, kEmbeddedWorkerId2));
+ EXPECT_TRUE(base::ContainsKey(instance_info, kEmbeddedWorkerId1));
+ EXPECT_TRUE(base::ContainsKey(instance_info, kEmbeddedWorkerId2));
process_manager_->ReleaseWorkerProcess(kEmbeddedWorkerId1);
EXPECT_EQ(1, host1->worker_ref_count());
EXPECT_EQ(0, host2->worker_ref_count());
EXPECT_EQ(1u, instance_info.size());
- EXPECT_TRUE(ContainsKey(instance_info, kEmbeddedWorkerId2));
+ EXPECT_TRUE(base::ContainsKey(instance_info, kEmbeddedWorkerId2));
process_manager_->ReleaseWorkerProcess(kEmbeddedWorkerId2);
EXPECT_EQ(0, host1->worker_ref_count());

Powered by Google App Engine
This is Rietveld 408576698