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

Unified Diff: chrome/browser/extensions/extension_icon_manager.cc

Issue 2230203002: chrome: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed accidental components/ change 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: chrome/browser/extensions/extension_icon_manager.cc
diff --git a/chrome/browser/extensions/extension_icon_manager.cc b/chrome/browser/extensions/extension_icon_manager.cc
index cec9a5bda615b201c4eb7a486b35b7111a3cf05e..ae163be40dc00342c241a11c7fda86a3afe26802 100644
--- a/chrome/browser/extensions/extension_icon_manager.cc
+++ b/chrome/browser/extensions/extension_icon_manager.cc
@@ -79,7 +79,7 @@ void ExtensionIconManager::LoadIcon(content::BrowserContext* context,
const SkBitmap& ExtensionIconManager::GetIcon(const std::string& extension_id) {
const SkBitmap* result = NULL;
- if (ContainsKey(icons_, extension_id)) {
+ if (base::ContainsKey(icons_, extension_id)) {
result = &icons_[extension_id];
} else {
EnsureDefaultIcon();
@@ -103,7 +103,7 @@ void ExtensionIconManager::OnImageLoaded(const std::string& extension_id,
// We may have removed the icon while waiting for it to load. In that case,
// do nothing.
- if (!ContainsKey(pending_icons_, extension_id))
+ if (!base::ContainsKey(pending_icons_, extension_id))
return;
pending_icons_.erase(extension_id);
« no previous file with comments | « chrome/browser/extensions/extension_action_runner.cc ('k') | chrome/browser/extensions/extension_special_storage_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698