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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/public/V8EventListenerInfo.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: for landing 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
« no previous file with comments | « third_party/WebKit/Source/platform/v8_inspector/V8StringUtil.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/v8_inspector/public/V8EventListenerInfo.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/public/V8EventListenerInfo.h b/third_party/WebKit/Source/platform/v8_inspector/public/V8EventListenerInfo.h
index f98d7982ac199c336e020de5a908f5a42a798a67..3615a07772f6526c50b96a94cc229e4185520f17 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/public/V8EventListenerInfo.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/public/V8EventListenerInfo.h
@@ -5,8 +5,8 @@
#ifndef V8EventListenerInfo_h
#define V8EventListenerInfo_h
-#include "wtf/Vector.h"
-#include "wtf/text/AtomicString.h"
+#include "platform/inspector_protocol/Collections.h"
+#include "wtf/text/WTFString.h"
#include <v8.h>
@@ -14,20 +14,20 @@ namespace blink {
class V8EventListenerInfo {
public:
- V8EventListenerInfo(const AtomicString& eventType, bool useCapture, v8::Local<v8::Object> handler)
+ V8EventListenerInfo(const String& eventType, bool useCapture, v8::Local<v8::Object> handler)
: eventType(eventType)
, useCapture(useCapture)
, handler(handler)
{
}
- const AtomicString eventType;
+ const String eventType;
bool useCapture;
v8::Local<v8::Object> handler;
};
-using V8EventListenerInfoMap = HashMap<String, OwnPtr<Vector<V8EventListenerInfo>>>;
+using V8EventListenerInfoMap = protocol::HashMap<String, OwnPtr<protocol::Vector<V8EventListenerInfo>>>;
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/v8_inspector/V8StringUtil.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698