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

Unified Diff: components/devtools_http_handler/devtools_http_handler.cc

Issue 2231753002: components: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: One more call site 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: components/devtools_http_handler/devtools_http_handler.cc
diff --git a/components/devtools_http_handler/devtools_http_handler.cc b/components/devtools_http_handler/devtools_http_handler.cc
index 48f58113f39bb67483a0b184aa629a91c565e184..17b9e990bedf1a3d649ba376d2d8e512149a4933 100644
--- a/components/devtools_http_handler/devtools_http_handler.cc
+++ b/components/devtools_http_handler/devtools_http_handler.cc
@@ -344,8 +344,8 @@ DevToolsHttpHandler::ServerSocketFactory::CreateForTethering(
DevToolsHttpHandler::~DevToolsHttpHandler() {
TerminateOnUI(thread_, server_wrapper_, socket_factory_);
- STLDeleteValues(&descriptor_map_);
- STLDeleteValues(&connection_to_client_);
+ base::STLDeleteValues(&descriptor_map_);
+ base::STLDeleteValues(&connection_to_client_);
}
GURL DevToolsHttpHandler::GetFrontendURL(const std::string& path) {
@@ -582,7 +582,7 @@ void DevToolsHttpHandler::OnJsonRequest(
devtools_discovery::DevToolsDiscoveryManager::GetInstance()->
GetDescriptors();
std::sort(descriptors.begin(), descriptors.end(), TimeComparator);
- STLDeleteValues(&descriptor_map_);
+ base::STLDeleteValues(&descriptor_map_);
base::ListValue list_value;
for (DevToolsTargetDescriptor* descriptor : descriptors) {
descriptor_map_[descriptor->GetId()] = descriptor;
« no previous file with comments | « components/devtools_discovery/devtools_discovery_manager.cc ('k') | components/domain_reliability/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698