Bug 612237 extra ";" after JS_DECL_USE_GUARD_OBJECT_NOTIFIER r=mrbkap a=benjamin
authorGinn Chen <ginn.chen@oracle.com>
Wed, 24 Nov 2010 15:33:03 +0800
changeset 58129 7c303ebbe4095cdebfe1115f75a149088ac63cb8
parent 58128 ef38031be209395bf30806ad03d94eeb517f7c8a
child 58130 9fcdd4f4358184c82fc72ac96a4e7d438b33d3e9
push id17172
push userginn.chen@sun.com
push dateWed, 24 Nov 2010 07:42:54 +0000
treeherdermozilla-central@9fcdd4f43581 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmrbkap, benjamin
bugs612237
milestone2.0b8pre
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 612237 extra ";" after JS_DECL_USE_GUARD_OBJECT_NOTIFIER r=mrbkap a=benjamin
js/ipc/ObjectWrapperChild.cpp
js/ipc/ObjectWrapperParent.cpp
--- a/js/ipc/ObjectWrapperChild.cpp
+++ b/js/ipc/ObjectWrapperChild.cpp
@@ -57,17 +57,17 @@ using namespace js;
 namespace {
 
     class AutoContextPusher {
 
         nsCxPusher mStack;
         JSAutoRequest mRequest;
         JSContext* const mContext;
         const uint32 mSavedOptions;
-        JS_DECL_USE_GUARD_OBJECT_NOTIFIER;
+        JS_DECL_USE_GUARD_OBJECT_NOTIFIER
 
     public:
 
         AutoContextPusher(JSContext* cx
                           JS_GUARD_OBJECT_NOTIFIER_PARAM)
             : mRequest(cx)
             , mContext(cx)
             , mSavedOptions(JS_SetOptions(cx, (JS_GetOptions(cx) |
@@ -105,17 +105,17 @@ namespace {
             return mStatusPtr;
         }
     };
 
     typedef AutoCheckOperationBase<StatusPtrOwner> ACOBase;
 
     class AutoCheckOperation : public ACOBase
     {
-        JS_DECL_USE_GUARD_OBJECT_NOTIFIER;
+        JS_DECL_USE_GUARD_OBJECT_NOTIFIER
     public:
         AutoCheckOperation(ObjectWrapperChild* owc,
                            OperationStatus* statusPtr
                            JS_GUARD_OBJECT_NOTIFIER_PARAM)
             : ACOBase(NULL, owc)
         {
             JS_GUARD_OBJECT_NOTIFIER_INIT;
             SetStatusPtr(statusPtr);
--- a/js/ipc/ObjectWrapperParent.cpp
+++ b/js/ipc/ObjectWrapperParent.cpp
@@ -57,17 +57,17 @@ namespace {
     static const uintN sNumSlots = 1;
     static const uintN CPOW_FLAG_RESOLVING = 1 << 0;
 
     class AutoResolveFlag
     {
         JSContext* mContext;
         JSObject* mObj;
         uintN mOldFlags;
-        JS_DECL_USE_GUARD_OBJECT_NOTIFIER;
+        JS_DECL_USE_GUARD_OBJECT_NOTIFIER
 
         static uintN GetFlags(JSContext* cx, JSObject* obj) {
             jsval v;
 #ifdef DEBUG
             JSBool ok =
 #endif
                 JS_GetReservedSlot(cx, obj, sFlagsSlot, &v);
             NS_ASSERTION(ok, "Failed to get CPOW flags");
@@ -113,17 +113,17 @@ namespace {
             return &mStatus;
         }
     };
 
     typedef AutoCheckOperationBase<StatusMemberOwner> ACOBase;
 
     class AutoCheckOperation : public ACOBase
     {
-        JS_DECL_USE_GUARD_OBJECT_NOTIFIER;
+        JS_DECL_USE_GUARD_OBJECT_NOTIFIER
     public:
         AutoCheckOperation(JSContext* cx,
                            ObjectWrapperParent* owp
                            JS_GUARD_OBJECT_NOTIFIER_PARAM)
             : ACOBase(cx, owp)
         {
             JS_GUARD_OBJECT_NOTIFIER_INIT;
         }