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

Unified Diff: media/blink/webencryptedmediaclient_impl.h

Issue 2600603002: Remove base::ScopedPtrHashMap from media/. (Closed)
Patch Set: rev Created 4 years 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/cdm_promise_adapter.cc ('k') | media/blink/webencryptedmediaclient_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webencryptedmediaclient_impl.h
diff --git a/media/blink/webencryptedmediaclient_impl.h b/media/blink/webencryptedmediaclient_impl.h
index 28e19544b7c1dec4693aaa247f8baadd6436cf63..3bb91050349c4a3c29ff59b4e571123634a127bb 100644
--- a/media/blink/webencryptedmediaclient_impl.h
+++ b/media/blink/webencryptedmediaclient_impl.h
@@ -7,9 +7,9 @@
#include <memory>
#include <string>
+#include <unordered_map>
#include "base/callback.h"
-#include "base/containers/scoped_ptr_hash_map.h"
#include "base/memory/weak_ptr.h"
#include "media/blink/key_system_config_selector.h"
#include "media/blink/media_blink_export.h"
@@ -73,7 +73,7 @@ class MEDIA_BLINK_EXPORT WebEncryptedMediaClientImpl
Reporter* GetReporter(const blink::WebString& key_system);
// Reporter singletons.
- base::ScopedPtrHashMap<std::string, std::unique_ptr<Reporter>> reporters_;
+ std::unordered_map<std::string, std::unique_ptr<Reporter>> reporters_;
base::Callback<bool(void)> are_secure_codecs_supported_cb_;
CdmFactory* cdm_factory_;
« no previous file with comments | « media/base/cdm_promise_adapter.cc ('k') | media/blink/webencryptedmediaclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698