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

Unified Diff: Source/core/inspector/AsyncOperationMap.h

Issue 1198863006: First version of PerformanceObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use WeakCallback Created 5 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: Source/core/inspector/AsyncOperationMap.h
diff --git a/Source/core/inspector/AsyncOperationMap.h b/Source/core/inspector/AsyncOperationMap.h
index 3ff30ae6dfb7d0aab90aaba2d08320c06e5e54a5..bcbcc1f438b92c42e7adbfc3e527548084ab50fd 100644
--- a/Source/core/inspector/AsyncOperationMap.h
+++ b/Source/core/inspector/AsyncOperationMap.h
@@ -13,11 +13,10 @@
namespace blink {
-template <class K>
+template <class K, class MapType = WillBeHeapHashMap<K, int>>
class AsyncOperationMap final {
ALLOW_ONLY_INLINE_ALLOCATION();
public:
- using MapType = WillBeHeapHashMap<K, int>;
explicit AsyncOperationMap(V8DebuggerAgent* debuggerAgent)
: m_debuggerAgent(debuggerAgent)
{

Powered by Google App Engine
This is Rietveld 408576698