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

Unified Diff: content/renderer/android/synchronous_compositor_filter.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
Index: content/renderer/android/synchronous_compositor_filter.h
diff --git a/content/renderer/android/synchronous_compositor_filter.h b/content/renderer/android/synchronous_compositor_filter.h
index 9ed6ec64a66dad0bf7bb181bbb1d302056f04156..1e973bdd8f66b249239eb5a3f7dac8040359e6fe 100644
--- a/content/renderer/android/synchronous_compositor_filter.h
+++ b/content/renderer/android/synchronous_compositor_filter.h
@@ -8,9 +8,9 @@
#include <stdint.h>
#include <memory>
+#include <unordered_map>
#include <vector>
-#include "base/containers/scoped_ptr_hash_map.h"
#include "base/macros.h"
#include "base/single_thread_task_runner.h"
#include "content/renderer/android/synchronous_compositor_registry.h"
@@ -92,8 +92,8 @@ class SynchronousCompositorFilter
// Compositor thread-only fields.
using SyncCompositorMap =
- base::ScopedPtrHashMap<int /* routing_id */,
- std::unique_ptr<SynchronousCompositorProxy>>;
+ std::unordered_map<int /* routing_id */,
+ std::unique_ptr<SynchronousCompositorProxy>>;
SyncCompositorMap sync_compositor_map_;
bool filter_ready_;

Powered by Google App Engine
This is Rietveld 408576698