Bug 785482 - Fix typo in definition of JS_RemoveScriptRootRT. r=terrence
authorAndrew McCreight <amccreight@mozilla.com>
Fri, 24 Aug 2012 12:56:10 -0700
changeset 105625 c7e0c849fcdc8acb4a15687fabc17bd3033addf8
parent 105624 2954b2a61cfa971bda27ebf2cbdc1c3dd3715558
child 105626 28cbe2f75f5dd8d858c0ef72fbe11250c60ad822
push id55
push usershu@rfrn.org
push dateThu, 30 Aug 2012 01:33:09 +0000
reviewersterrence
bugs785482
milestone17.0a1
Bug 785482 - Fix typo in definition of JS_RemoveScriptRootRT. r=terrence
js/src/jsapi.cpp
--- a/js/src/jsapi.cpp
+++ b/js/src/jsapi.cpp
@@ -2468,17 +2468,17 @@ JS_RemoveStringRootRT(JSRuntime *rt, JSS
 
 JS_PUBLIC_API(void)
 JS_RemoveObjectRootRT(JSRuntime *rt, JSObject **rp)
 {
     js_RemoveRoot(rt, (void *)rp);
 }
 
 JS_PUBLIC_API(void)
-JS_RemoveScriptRoot(JSRuntime *rt, JSScript **rp)
+JS_RemoveScriptRootRT(JSRuntime *rt, JSScript **rp)
 {
     js_RemoveRoot(rt, (void *)rp);
 }
 
 JS_NEVER_INLINE JS_PUBLIC_API(void)
 JS_AnchorPtr(void *p)
 {
 }