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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp

Issue 2169153002: DevTools: make all timeline trace events use 0-based line numbers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update expectation Created 4 years, 5 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/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 7caffe4c1889c1ec941befbae8b799e9c7f6d262..9390e994fd5e35426b8a65cd65dbb56e61bde6db 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp
@@ -726,8 +726,8 @@ std::unique_ptr<TracedValue> InspectorFunctionCallEvent::data(ExecutionContext*
value->setString("functionName", toCoreString(functionName.As<v8::String>()));
std::unique_ptr<SourceLocation> location = SourceLocation::fromFunction(originalFunction);
value->setString("scriptId", String::number(location->scriptId()));
- value->setString("scriptName", location->url());
- value->setInteger("scriptLine", location->lineNumber());
+ value->setString("url", location->url());
+ value->setInteger("lineNumber", location->lineNumber());
return value;
}

Powered by Google App Engine
This is Rietveld 408576698