Index: Source/bindings/v8/V8ScriptRunner.cpp |
diff --git a/Source/bindings/v8/V8ScriptRunner.cpp b/Source/bindings/v8/V8ScriptRunner.cpp |
index 9412ae641204025aa29516f0ad8441e300d8c12d..713cef0c0db02ffc9907b208501cbfec71eae1fd 100644 |
--- a/Source/bindings/v8/V8ScriptRunner.cpp |
+++ b/Source/bindings/v8/V8ScriptRunner.cpp |
@@ -70,7 +70,7 @@ v8::Local<v8::Script> V8ScriptRunner::compileScript(v8::Handle<v8::String> code, |
v8::Handle<v8::String> name = v8String(fileName, isolate); |
v8::Handle<v8::Integer> line = v8::Integer::New(scriptStartPosition.m_line.zeroBasedInt(), isolate); |
v8::Handle<v8::Integer> column = v8::Integer::New(scriptStartPosition.m_column.zeroBasedInt(), isolate); |
- v8::Handle<v8::Boolean> isSharedCrossOrigin = corsStatus == SharableCrossOrigin ? v8::True() : v8::False(); |
+ v8::Handle<v8::Boolean> isSharedCrossOrigin = corsStatus == SharableCrossOrigin ? v8::True(isolate) : v8::False(isolate); |
v8::ScriptOrigin origin(name, line, column, isSharedCrossOrigin); |
return v8::Script::Compile(code, &origin, scriptData); |
} |