-
ggaren@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=115447 Reviewed by Mark Hahnenberg. ../JavaScriptCore: For consistency, I renamed +[JSValue valueWithValue:] => +[JSValue valueWithJSValueRef] +[JSContext contextWithGlobalContextRef] => +[JSContext contextWithJSGlobalContextRef] -[JSContext globalContext] => -[JSContext JSGlobalContextRef] I searched svn to verify that these functions don't have clients yet, so we won't break anything. I also exported as public API +[JSValue valueWithJSValueRef:] +[JSContext contextWithJSGlobalContextRef:] It's hard to integrate with the C API without these. ../WebCore: * bindings/js/ScriptControllerMac.mm: (WebCore::ScriptController::javaScriptContext): * bindings/objc/WebScriptObject.mm: (-[WebScriptObject JSValue]): ../WebKit/mac: * WebView/WebFrame.mm: (-[WebFrame _javaScriptContextForScriptWorld:]): * WebView/WebScriptWorld.mm: (+[WebScriptWorld scriptWorldForJavaScriptContext:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149401 268f45cc-cd09-0410-ab3c-d52691b4dbfc
58bf4eae