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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp

Issue 1807193003: Show v8.parseOnBackground in DevTools Timeline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/bindings/core/v8/ScriptStreamer.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp
index 0ace8b2b038dce63c661517504dbfc7ccdfaf26e..2f82ff2bf9c31807804b2a7a27b9eee7e3b7fe3f 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp
@@ -587,6 +587,8 @@ ScriptStreamer::ScriptStreamer(PendingScript* script, Type scriptType, ScriptSta
, m_compileOptions(compileOptions)
, m_scriptState(scriptState)
, m_scriptType(scriptType)
+ , m_scriptURLString(m_resource->url().copy().getString())
+ , m_scriptResourceIdentifier(m_resource->identifier())
, m_encoding(v8::ScriptCompiler::StreamedSource::TWO_BYTE) // Unfortunately there's no dummy encoding value in the enum; let's use one we don't stream.
, m_loadingTaskRunner(adoptPtr(loadingTaskRunner->clone()))
{

Powered by Google App Engine
This is Rietveld 408576698