Index: Source/WebCore/bindings/v8/ScriptController.cpp |
=================================================================== |
--- Source/WebCore/bindings/v8/ScriptController.cpp (revision 141118) |
+++ Source/WebCore/bindings/v8/ScriptController.cpp (working copy) |
@@ -492,7 +492,7 @@ |
// Attach to the global object. |
v8::Handle<v8::Object> global = v8Context->Global(); |
- global->Set(v8String(key, v8Context->GetIsolate()), value); |
+ global->Set(deprecatedV8String(key), value); |
} |
bool ScriptController::haveInterpreter() const |
@@ -515,7 +515,7 @@ |
v8::HandleScope handleScope; |
v8::Handle<v8::Context> v8Context = m_windowShell->context(); |
v8Context->AllowCodeGenerationFromStrings(false); |
- v8Context->SetErrorMessageForCodeGenerationFromStrings(v8String(errorMessage, v8Context->GetIsolate())); |
+ v8Context->SetErrorMessageForCodeGenerationFromStrings(deprecatedV8String(errorMessage)); |
} |
PassScriptInstance ScriptController::createScriptInstanceForWidget(Widget* widget) |