Index: third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp b/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp |
index 4aea37426fb1236811f67b9a40596b9fa7462ec3..8092315f218a89f383484efc6c9a68ee6bd10def 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp |
@@ -678,6 +678,15 @@ PassOwnPtr<TracedValue> InspectorEvaluateScriptEvent::data(LocalFrame* frame, co |
return value.release(); |
} |
+PassOwnPtr<TracedValue> InspectorParseScriptEvent::data(unsigned long identifier, const String& url) |
+{ |
+ String requestId = IdentifiersFactory::requestId(identifier); |
+ OwnPtr<TracedValue> value = TracedValue::create(); |
+ value->setString("requestId", requestId); |
+ value->setString("url", url); |
+ return value.release(); |
+} |
+ |
PassOwnPtr<TracedValue> InspectorCompileScriptEvent::data(const String& url, const TextPosition& textPosition) |
{ |
return fillLocation(url, textPosition); |