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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/Iterable.h

Issue 2810743003: Move ScriptState::GetExecutionContext (Part 3) (Closed)
Patch Set: Rebase 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/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());

Powered by Google App Engine
This is Rietveld 408576698