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

Unified Diff: third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.cpp

Issue 2821443002: Revert of Move ScriptState::GetExecutionContext (Part 5) (Closed)
Patch Set: Revert Created 3 years, 8 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/modules/csspaint/CSSPaintDefinition.cpp
diff --git a/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.cpp b/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.cpp
index 9a11dc0c4c65cd7fa095983d58f7f382be0630a2..785911fdde3a35a70317eab0887f91a0a778b255 100644
--- a/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.cpp
+++ b/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.cpp
@@ -112,8 +112,7 @@ PassRefPtr<Image> CSSPaintDefinition::Paint(
v8::TryCatch block(isolate);
block.SetVerbose(true);
- V8ScriptRunner::CallFunction(paint,
- ExecutionContext::From(script_state_.Get()),
+ V8ScriptRunner::CallFunction(paint, script_state_->GetExecutionContext(),
instance, WTF_ARRAY_LENGTH(argv), argv, isolate);
// The paint function may have produced an error, in which case produce an

Powered by Google App Engine
This is Rietveld 408576698