зеркало из https://github.com/mozilla/gecko-dev.git
Bug 857538 - Diagnostic for HWNDGetter leak. r=ted
This commit is contained in:
Родитель
0eaf9dc67a
Коммит
b12794dbec
|
@ -22,6 +22,7 @@
|
|||
#include "nsAutoPtr.h"
|
||||
#include "nsServiceManagerUtils.h"
|
||||
#include "nsThreadUtils.h"
|
||||
#include "nsTraceRefcnt.h"
|
||||
#include "nsWindowDefs.h"
|
||||
|
||||
namespace {
|
||||
|
@ -33,7 +34,12 @@ HANDLE sEventHandle = NULL;
|
|||
// thread.
|
||||
class HWNDGetter : public nsRunnable {
|
||||
public:
|
||||
HWNDGetter() : hidden_window_hwnd(NULL) {}
|
||||
HWNDGetter() : hidden_window_hwnd(NULL) {
|
||||
MOZ_COUNT_CTOR(HWNDGetter);
|
||||
}
|
||||
~HWNDGetter() {
|
||||
MOZ_COUNT_DTOR(HWNDGetter);
|
||||
}
|
||||
|
||||
HWND hidden_window_hwnd;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче