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 e91c67b5c875dd335a6aefdc872111defc0e64e9..a7113ecf6c6627bc9560df4bb5354b8736d48366 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/Iterable.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/Iterable.h |
@@ -46,7 +46,7 @@ public: |
v8::Isolate* isolate = scriptState->isolate(); |
v8::TryCatch tryCatch(isolate); |
- v8::Local<v8::Object> creationContext(scriptState->context()->Global()); |
+ v8::Local<v8::Object> creationContext(thisValue.v8Value().As<v8::Object>()); |
v8::Local<v8::Function> v8Callback(callback.v8Value().As<v8::Function>()); |
v8::Local<v8::Value> v8ThisArg(thisArg.v8Value()); |
v8::Local<v8::Value> args[3]; |