Bug 957742 - Fix compile error
authorBill McCloskey <wmccloskey@mozilla.com>
Wed, 28 May 2014 18:25:06 -0700
changeset 204753 f1641d411d6f122ff45d429dbb8b46990d12bd4c
parent 204752 71a7a25d9884f978c2d352adccacbc7c086da469
child 204754 ef053c67aac2c2363e3ea40b1e25bded81795ec2
push id3741
push userasasaki@mozilla.com
push dateMon, 21 Jul 2014 20:25:18 +0000
treeherdermozilla-beta@4d6f46f5af68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs957742
milestone32.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 957742 - Fix compile error
js/ipc/JavaScriptLogging.h
--- a/js/ipc/JavaScriptLogging.h
+++ b/js/ipc/JavaScriptLogging.h
@@ -89,17 +89,17 @@ class Logging
     void format(const nsString &str, nsCString &out) {
         out = NS_ConvertUTF16toUTF8(str);
     }
 
     void formatObject(bool incoming, bool local, ObjectId id, nsCString &out) {
         const char *side, *objDesc;
 
         if (local == incoming) {
-            RootedObject obj(cx);
+            JS::RootedObject obj(cx);
             obj = shared->findObjectById(id);
             if (obj) {
                 JSAutoCompartment ac(cx, obj);
                 objDesc = js_ObjectClassName(cx, obj);
             } else {
                 objDesc = "<dead object>";
             }