mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 798033 - Remove 'using namespace' from toolkit/ headers. r=bsmedberg
This commit is contained in:
parent
4fc8d6dc86
commit
28919a5971
@ -13,6 +13,8 @@
|
||||
#include "nsPIDOMWindow.h"
|
||||
#include "nsIWindowWatcher.h"
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
#define ALERT_CHROME_URL "chrome://global/content/alerts/alert.xul"
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsXULAlertObserver, nsIObserver)
|
||||
|
@ -12,8 +12,6 @@
|
||||
#include "nsIDOMWindow.h"
|
||||
#include "nsIObserver.h"
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
class nsXULAlerts {
|
||||
friend class nsXULAlertObserver;
|
||||
public:
|
||||
|
@ -36,6 +36,8 @@
|
||||
#include "nsBrowserStatusFilter.h"
|
||||
#include "mozilla/FinalizationWitnessService.h"
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsAppStartup, Init)
|
||||
@ -113,7 +115,7 @@ NS_DEFINE_NAMED_CID(NS_UPDATEPROCESSOR_CID);
|
||||
#endif
|
||||
NS_DEFINE_NAMED_CID(FINALIZATIONWITNESSSERVICE_CID);
|
||||
|
||||
static const mozilla::Module::CIDEntry kToolkitCIDs[] = {
|
||||
static const Module::CIDEntry kToolkitCIDs[] = {
|
||||
{ &kNS_TOOLKIT_APPSTARTUP_CID, false, nullptr, nsAppStartupConstructor },
|
||||
{ &kNS_USERINFO_CID, false, nullptr, nsUserInfoConstructor },
|
||||
{ &kNS_ALERTSSERVICE_CID, false, nullptr, nsAlertsServiceConstructor },
|
||||
@ -141,7 +143,7 @@ static const mozilla::Module::CIDEntry kToolkitCIDs[] = {
|
||||
{ nullptr }
|
||||
};
|
||||
|
||||
static const mozilla::Module::ContractIDEntry kToolkitContracts[] = {
|
||||
static const Module::ContractIDEntry kToolkitContracts[] = {
|
||||
{ NS_APPSTARTUP_CONTRACTID, &kNS_TOOLKIT_APPSTARTUP_CID },
|
||||
{ NS_USERINFO_CONTRACTID, &kNS_USERINFO_CID },
|
||||
{ NS_ALERTSERVICE_CONTRACTID, &kNS_ALERTSSERVICE_CID },
|
||||
@ -170,8 +172,8 @@ static const mozilla::Module::ContractIDEntry kToolkitContracts[] = {
|
||||
{ nullptr }
|
||||
};
|
||||
|
||||
static const mozilla::Module kToolkitModule = {
|
||||
mozilla::Module::kVersion,
|
||||
static const Module kToolkitModule = {
|
||||
Module::kVersion,
|
||||
kToolkitCIDs,
|
||||
kToolkitContracts
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user