Index: third_party/WebKit/Source/bindings/core/v8/Iterable.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/Iterable.h b/third_party/WebKit/Source/bindings/core/v8/Iterable.h |
index 4095c90f6b61dd6797177891e8e806a45777b06d..689917dfca6e619f3f89d57dd4974512e28bfebe 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/Iterable.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/Iterable.h |
@@ -7,6 +7,7 @@ |
#include "bindings/core/v8/V8IteratorResultValue.h" |
#include "bindings/core/v8/V8ScriptRunner.h" |
+#include "core/dom/ExecutionContext.h" |
#include "core/dom/Iterator.h" |
namespace blink { |
@@ -82,7 +83,7 @@ class Iterable { |
v8::Local<v8::Value> result; |
if (!V8ScriptRunner::CallFunction(v8_callback, |
- script_state->GetExecutionContext(), |
+ ExecutionContext::From(script_state), |
v8_this_arg, 3, args, isolate) |
.ToLocal(&result)) { |
exception_state.RethrowV8Exception(try_catch.Exception()); |