Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Unified Diff: Source/WebCore/bindings/v8/ScriptController.cpp

Issue 12087054: Revert 140611 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1397/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)
« no previous file with comments | « Source/WebCore/bindings/v8/PageScriptDebugServer.cpp ('k') | Source/WebCore/bindings/v8/ScriptDebugServer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698