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 e493adbdd2ea4402a01ed7ebcd5fa925aeedda44..782f14c362ee80931126065d3ac18088c5de1a77 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]; |