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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8AsyncCallTracker.h

Issue 1758313002: DevTools: introduce collections shim to be backed by non-wtf in v8_inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: third_party/WebKit/Source/platform/v8_inspector/V8AsyncCallTracker.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8AsyncCallTracker.h b/third_party/WebKit/Source/platform/v8_inspector/V8AsyncCallTracker.h
index a714e12845fc66ca8bbbbc85a07b0f933fb18681..9de313ea5211382df4e268359fd0a6b5eb22bea4 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8AsyncCallTracker.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8AsyncCallTracker.h
@@ -6,8 +6,8 @@
#define V8AsyncCallTracker_h
#include "platform/inspector_protocol/Allocator.h"
+#include "platform/inspector_protocol/Collections.h"
#include "platform/v8_inspector/V8DebuggerAgentImpl.h"
-#include "wtf/HashMap.h"
#include <v8.h>
@@ -32,7 +32,7 @@ public:
private:
struct Operations {
- HashMap<String, int> map;
+ protocol::HashMap<String, int> map;
int contextId;
V8AsyncCallTracker* target;
v8::Global<v8::Context> context;
@@ -44,10 +44,10 @@ private:
void didEnqueueV8AsyncTask(v8::Local<v8::Context>, const String& eventName, int id);
void willHandleV8AsyncTask(v8::Local<v8::Context>, const String& eventName, int id);
- void completeOperations(const HashMap<String, int>& contextCallChains);
+ void completeOperations(const protocol::HashMap<String, int>& contextCallChains);
V8DebuggerAgentImpl* m_debuggerAgent;
- HashMap<int, OwnPtr<Operations>> m_idToOperations;
+ protocol::HashMap<int, OwnPtr<Operations>> m_idToOperations;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698