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

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

Issue 2517113004: Don't use deprecated ScriptOrigin cstor in V8ScriptRunner (Closed)
Patch Set: Created 4 years, 1 month 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/V8ScriptRunner.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp b/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp
index cf85cbd2ba72140f3717c80bbda5598d9fea9e0f..7e46e69868941673a4cb422f1bdbec5b3ba93dd8 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp
@@ -472,8 +472,7 @@ v8::MaybeLocal<v8::Script> V8ScriptRunner::compileScript(
v8::Integer::New(isolate, scriptStartPosition.m_line.zeroBasedInt()),
v8::Integer::New(isolate, scriptStartPosition.m_column.zeroBasedInt()),
v8Boolean(accessControlStatus == SharableCrossOrigin, isolate),
- v8::Local<v8::Integer>(), v8Boolean(false, isolate),
- v8String(isolate, sourceMapUrl),
+ v8::Local<v8::Integer>(), v8String(isolate, sourceMapUrl),
v8Boolean(accessControlStatus == OpaqueResource, isolate));
V8CompileHistogram::Cacheability cacheabilityIfNoHandler =

Powered by Google App Engine
This is Rietveld 408576698