Bug 1615769 - Move `using namespace mozilla` in order to resolve conflicts with Windows headers. r=saschanaz

Differential Revision: https://phabricator.services.mozilla.com/D62989

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Masatoshi Kimura 2020-02-15 05:57:58 +00:00
Родитель b0717bce7e
Коммит 798568d4ac
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -25,8 +25,6 @@
#include "nsWindowGfx.h" #include "nsWindowGfx.h"
#include "Units.h" #include "Units.h"
using namespace mozilla;
/* mingw currently doesn't support windows.ui.viewmanagement.h, so we disable it /* mingw currently doesn't support windows.ui.viewmanagement.h, so we disable it
* until it's fixed. */ * until it's fixed. */
#ifndef __MINGW32__ #ifndef __MINGW32__
@ -132,6 +130,8 @@ IDataPackage4 : public IInspectable {
#endif #endif
using namespace mozilla;
WindowsUIUtils::WindowsUIUtils() : mInTabletMode(eTabletModeUnknown) {} WindowsUIUtils::WindowsUIUtils() : mInTabletMode(eTabletModeUnknown) {}
WindowsUIUtils::~WindowsUIUtils() {} WindowsUIUtils::~WindowsUIUtils() {}