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

Unified Diff: media/blink/cdm_session_adapter.cc

Issue 2234753002: media: 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
« no previous file with comments | « media/base/text_renderer.cc ('k') | media/cast/net/cast_transport_config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/cdm_session_adapter.cc
diff --git a/media/blink/cdm_session_adapter.cc b/media/blink/cdm_session_adapter.cc
index 4558bbe27b1c6e2cbc83d8d26180e096ccf2c771..49694a9d2d61edec3ef69646e65b08d8de1e1fd5 100644
--- a/media/blink/cdm_session_adapter.cc
+++ b/media/blink/cdm_session_adapter.cc
@@ -77,7 +77,7 @@ bool CdmSessionAdapter::RegisterSession(
const std::string& session_id,
base::WeakPtr<WebContentDecryptionModuleSessionImpl> session) {
// If this session ID is already registered, don't register it again.
- if (ContainsKey(sessions_, session_id))
+ if (base::ContainsKey(sessions_, session_id))
return false;
sessions_[session_id] = session;
@@ -85,7 +85,7 @@ bool CdmSessionAdapter::RegisterSession(
}
void CdmSessionAdapter::UnregisterSession(const std::string& session_id) {
- DCHECK(ContainsKey(sessions_, session_id));
+ DCHECK(base::ContainsKey(sessions_, session_id));
sessions_.erase(session_id);
}
« no previous file with comments | « media/base/text_renderer.cc ('k') | media/cast/net/cast_transport_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698