File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 12
12
#include " mozilla/Move.h"
13
13
#include " mozilla/mscom/Utils.h"
14
14
15
+ #if defined(MOZILLA_INTERNAL_API)
16
+ #include " nsDebug.h"
17
+ #include " nsPrintfCString.h"
18
+ #endif // defined(MOZILLA_INTERNAL_API)
19
+
15
20
#if NTDDI_VERSION < NTDDI_WINBLUE
16
21
17
22
// Declarations from Windows SDK specific to Windows 8.1
@@ -100,7 +105,13 @@ void AgileReference::Clear() {
100
105
}
101
106
102
107
DebugOnly<HRESULT> hr = git->RevokeInterfaceFromGlobal (mGitCookie );
108
+ #if defined(MOZILLA_INTERNAL_API)
109
+ NS_WARNING_ASSERTION (SUCCEEDED(hr), nsPrintfCString(
110
+ " IGlobalInterfaceTable::RevokeInterfaceFromGlobal failed with HRESULT "
111
+ " 0x%08lX" , ((HRESULT)hr)).get());
112
+ #else
103
113
MOZ_ASSERT (SUCCEEDED (hr));
114
+ #endif // defined(MOZILLA_INTERNAL_API)
104
115
mGitCookie = 0 ;
105
116
}
106
117
You can’t perform that action at this time.
0 commit comments