Index: Source/bindings/v8/custom/V8InjectedScriptManager.cpp |
diff --git a/Source/bindings/v8/custom/V8InjectedScriptManager.cpp b/Source/bindings/v8/custom/V8InjectedScriptManager.cpp |
index c4db70bc0e2d04bdce6122833096f1d7c2b1bb31..473515eb78ef6f18d8278b12abbb5f8860403e39 100644 |
--- a/Source/bindings/v8/custom/V8InjectedScriptManager.cpp |
+++ b/Source/bindings/v8/custom/V8InjectedScriptManager.cpp |
@@ -53,7 +53,7 @@ struct InjectedScriptManager::CallbackData { |
static v8::Local<v8::Object> createInjectedScriptHostV8Wrapper(InjectedScriptHost* host, v8::Isolate* isolate) |
{ |
- v8::Local<v8::Function> function = V8InjectedScriptHost::domTemplate(isolate, MainWorld)->GetFunction(); |
+ v8::Local<v8::Function> function = V8InjectedScriptHost::domTemplate(isolate)->GetFunction(); |
if (function.IsEmpty()) { |
// Return if allocation failed. |
return v8::Local<v8::Object>(); |