Bug 1352339 - Add missing 'using namespace mozilla' to nsWindowDbg.cpp r=jwatt

Needed because LogLevel is in the 'mozilla' namespace, but this file uses it
without qualification.

MozReview-Commit-ID: 5o2KV1GlcqM

--HG--
extra : rebase_source : 2b6bb2b6a6b0464b9c01c055101b23373d386c0f
This commit is contained in:
Farmer Tseng 2017-04-01 00:42:35 +08:00
Родитель 5baa803bf8
Коммит 2f28a673b1
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -11,8 +11,8 @@
#include "nsWindowDbg.h"
#include "WinUtils.h"
using namespace mozilla;
using namespace mozilla::widget;
extern mozilla::LazyLogModule gWindowsLog;
#if defined(POPUP_ROLLUP_DEBUG_OUTPUT)
@ -38,8 +38,8 @@ void PrintEvent(UINT msg, bool aShowAllEvents, bool aShowMouseMoves)
}
if (aShowAllEvents || (!aShowAllEvents && gLastEventMsg != (long)msg)) {
if (aShowMouseMoves || (!aShowMouseMoves && msg != 0x0020 && msg != 0x0200 && msg != 0x0084)) {
MOZ_LOG(gWindowsLog, LogLevel::Info,
("%6d - 0x%04X %s\n", gEventCounter++, msg,
MOZ_LOG(gWindowsLog, LogLevel::Info,
("%6d - 0x%04X %s\n", gEventCounter++, msg,
gAllEvents[inx].mStr ? gAllEvents[inx].mStr : "Unknown"));
gLastEventMsg = msg;
}