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

Unified Diff: content/browser/media/android/media_web_contents_observer_android.h

Issue 2609443002: Remove base::ScopedPtrHashMap from content/ android. (Closed)
Patch Set: 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 | « no previous file | content/browser/media/android/media_web_contents_observer_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/media/android/media_web_contents_observer_android.h
diff --git a/content/browser/media/android/media_web_contents_observer_android.h b/content/browser/media/android/media_web_contents_observer_android.h
index 14ea142526bb293d0bd82ef2fddc2ae77903f71c..e330e45009e3a8785919716a6fe26aef77b7c40c 100644
--- a/content/browser/media/android/media_web_contents_observer_android.h
+++ b/content/browser/media/android/media_web_contents_observer_android.h
@@ -8,6 +8,7 @@
#include <stdint.h>
#include <memory>
+#include <unordered_map>
#include "base/macros.h"
#include "content/browser/media/media_web_contents_observer.h"
@@ -76,13 +77,13 @@ class CONTENT_EXPORT MediaWebContentsObserverAndroid
// Map from RenderFrameHost* to BrowserMediaPlayerManager.
using MediaPlayerManagerMap =
- base::ScopedPtrHashMap<RenderFrameHost*,
- std::unique_ptr<BrowserMediaPlayerManager>>;
+ std::unordered_map<RenderFrameHost*,
+ std::unique_ptr<BrowserMediaPlayerManager>>;
MediaPlayerManagerMap media_player_managers_;
using SurfaceViewManagerMap =
- base::ScopedPtrHashMap<RenderFrameHost*,
- std::unique_ptr<BrowserSurfaceViewManager>>;
+ std::unordered_map<RenderFrameHost*,
+ std::unique_ptr<BrowserSurfaceViewManager>>;
SurfaceViewManagerMap surface_view_managers_;
DISALLOW_COPY_AND_ASSIGN(MediaWebContentsObserverAndroid);
« no previous file with comments | « no previous file | content/browser/media/android/media_web_contents_observer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698