no bug - remove a bunch of extra ';'s to make -pedantic happy

This commit is contained in:
Trevor Saunders
2013-01-11 05:14:04 -05:00
parent 86effd77dd
commit ec71d09ed6
13 changed files with 17 additions and 17 deletions

View File

@@ -12,7 +12,7 @@
namespace mozilla { namespace mozilla {
NS_IMPL_ISUPPORTS1(LoadContext, nsILoadContext); NS_IMPL_ISUPPORTS1(LoadContext, nsILoadContext)
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// LoadContext::nsILoadContext // LoadContext::nsILoadContext

View File

@@ -48,7 +48,7 @@ nsContentPermissionRequestProxy::OnParentDestroyed()
mParent = nullptr; mParent = nullptr;
} }
NS_IMPL_ISUPPORTS1(nsContentPermissionRequestProxy, nsIContentPermissionRequest); NS_IMPL_ISUPPORTS1(nsContentPermissionRequestProxy, nsIContentPermissionRequest)
NS_IMETHODIMP NS_IMETHODIMP
nsContentPermissionRequestProxy::GetType(nsACString & aType) nsContentPermissionRequestProxy::GetType(nsACString & aType)

View File

@@ -228,6 +228,6 @@ protected:
uint32_t mMaxQualityIndex; uint32_t mMaxQualityIndex;
}; };
}; // namespace mozilla } // namespace mozilla
#endif // DOM_CAMERA_CAMERA_RECORDER_PROFILES_H #endif // DOM_CAMERA_CAMERA_RECORDER_PROFILES_H

View File

@@ -218,8 +218,8 @@ DeviceStorageRequestParent::~DeviceStorageRequestParent()
MOZ_COUNT_DTOR(DeviceStorageRequestParent); MOZ_COUNT_DTOR(DeviceStorageRequestParent);
} }
NS_IMPL_THREADSAFE_ADDREF(DeviceStorageRequestParent); NS_IMPL_THREADSAFE_ADDREF(DeviceStorageRequestParent)
NS_IMPL_THREADSAFE_RELEASE(DeviceStorageRequestParent); NS_IMPL_THREADSAFE_RELEASE(DeviceStorageRequestParent)
void void
DeviceStorageRequestParent::ActorDestroy(ActorDestroyReason) DeviceStorageRequestParent::ActorDestroy(ActorDestroyReason)

View File

@@ -443,9 +443,9 @@ NS_IMPL_RELEASE_INHERITED(IDBDatabase, IDBWrapperCache)
DOMCI_DATA(IDBDatabase, IDBDatabase) DOMCI_DATA(IDBDatabase, IDBDatabase)
NS_IMPL_EVENT_HANDLER(IDBDatabase, abort); NS_IMPL_EVENT_HANDLER(IDBDatabase, abort)
NS_IMPL_EVENT_HANDLER(IDBDatabase, error); NS_IMPL_EVENT_HANDLER(IDBDatabase, error)
NS_IMPL_EVENT_HANDLER(IDBDatabase, versionchange); NS_IMPL_EVENT_HANDLER(IDBDatabase, versionchange)
NS_IMETHODIMP NS_IMETHODIMP
IDBDatabase::GetName(nsAString& aName) IDBDatabase::GetName(nsAString& aName)

View File

@@ -1568,7 +1568,7 @@ private:
} // anonymous namespace } // anonymous namespace
NS_IMPL_THREADSAFE_ISUPPORTS1(OpenDatabaseHelper, nsIRunnable); NS_IMPL_THREADSAFE_ISUPPORTS1(OpenDatabaseHelper, nsIRunnable)
nsresult nsresult
OpenDatabaseHelper::Init() OpenDatabaseHelper::Init()
@@ -2246,7 +2246,7 @@ OpenDatabaseHelper::ReleaseMainThreadObjects()
HelperBase::ReleaseMainThreadObjects(); HelperBase::ReleaseMainThreadObjects();
} }
NS_IMPL_ISUPPORTS_INHERITED0(SetVersionHelper, AsyncConnectionHelper); NS_IMPL_ISUPPORTS_INHERITED0(SetVersionHelper, AsyncConnectionHelper)
nsresult nsresult
SetVersionHelper::Init() SetVersionHelper::Init()

View File

@@ -170,7 +170,7 @@ private:
TimeStamp mStartupTime; TimeStamp mStartupTime;
}; };
NS_IMPL_ISUPPORTS2(ProcessPriorityManager, nsIObserver, nsIDOMEventListener); NS_IMPL_ISUPPORTS2(ProcessPriorityManager, nsIObserver, nsIDOMEventListener)
ProcessPriorityManager::ProcessPriorityManager() ProcessPriorityManager::ProcessPriorityManager()
: mProcessPriority(PROCESS_PRIORITY_FOREGROUND) : mProcessPriority(PROCESS_PRIORITY_FOREGROUND)

View File

@@ -121,7 +121,7 @@ public:
} }
}; };
NS_IMPL_ISUPPORTS1(GeolocationSettingsCallback, nsISettingsServiceCallback); NS_IMPL_ISUPPORTS1(GeolocationSettingsCallback, nsISettingsServiceCallback)
class RequestPromptEvent : public nsRunnable class RequestPromptEvent : public nsRunnable
{ {

View File

@@ -90,7 +90,7 @@ public:
return mozilla::HashString(str); return mozilla::HashString(str);
} }
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(PermissionKey); NS_INLINE_DECL_THREADSAFE_REFCOUNTING(PermissionKey)
nsCString mHost; nsCString mHost;
uint32_t mAppId; uint32_t mAppId;

View File

@@ -93,7 +93,7 @@ public:
{} {}
NS_DECL_CYCLE_COLLECTING_ISUPPORTS NS_DECL_CYCLE_COLLECTING_ISUPPORTS
NS_DECL_CYCLE_COLLECTION_CLASS_AMBIGUOUS(JumpListShortcut, JumpListItem); NS_DECL_CYCLE_COLLECTION_CLASS_AMBIGUOUS(JumpListShortcut, JumpListItem)
NS_IMETHOD GetType(int16_t *aType) { return JumpListItem::GetType(aType); } NS_IMETHOD GetType(int16_t *aType) { return JumpListItem::GetType(aType); }
NS_IMETHOD Equals(nsIJumpListItem *item, bool *_retval); NS_IMETHOD Equals(nsIJumpListItem *item, bool *_retval);
NS_DECL_NSIJUMPLISTSHORTCUT NS_DECL_NSIJUMPLISTSHORTCUT

View File

@@ -192,7 +192,7 @@ DefaultController::OnClick(nsITaskbarPreviewButton *button) {
return NS_OK; return NS_OK;
} }
NS_IMPL_ISUPPORTS1(DefaultController, nsITaskbarPreviewController); NS_IMPL_ISUPPORTS1(DefaultController, nsITaskbarPreviewController)
} }
namespace mozilla { namespace mozilla {

View File

@@ -152,7 +152,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsDeviceContextSpecWin)
namespace mozilla { namespace mozilla {
namespace widget { namespace widget {
// This constructor should really be shared with all platforms. // This constructor should really be shared with all platforms.
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(GfxInfo, Init); NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(GfxInfo, Init)
} }
} }

View File

@@ -64,7 +64,7 @@ public:
} }
}; };
NS_IMPL_ISUPPORTS1(ShutdownObserver, nsIObserver); NS_IMPL_ISUPPORTS1(ShutdownObserver, nsIObserver)
void InitGfxDriverInfoShutdownObserver() void InitGfxDriverInfoShutdownObserver()
{ {