зеркало из https://github.com/mozilla/pjs.git
fix for NS_INTERFACE_MAP_END_INHERITING, wrong local var passed to base class's QI. r=scc.
This commit is contained in:
Родитель
bdf08b674f
Коммит
39eb3bc816
|
@ -267,7 +267,7 @@ NS_IMETHODIMP _class::QueryInterface(REFNSIID aIID, void** aInstancePtr) \
|
|||
foundInterface = 0; \
|
||||
nsresult status; \
|
||||
if ( !foundInterface ) \
|
||||
status = _baseclass::QueryInterface(aIID, aInstancePtr); \
|
||||
status = _baseclass::QueryInterface(aIID, &foundInterface); \
|
||||
else \
|
||||
{ \
|
||||
NS_ADDREF(foundInterface); \
|
||||
|
|
|
@ -267,7 +267,7 @@ NS_IMETHODIMP _class::QueryInterface(REFNSIID aIID, void** aInstancePtr) \
|
|||
foundInterface = 0; \
|
||||
nsresult status; \
|
||||
if ( !foundInterface ) \
|
||||
status = _baseclass::QueryInterface(aIID, aInstancePtr); \
|
||||
status = _baseclass::QueryInterface(aIID, &foundInterface); \
|
||||
else \
|
||||
{ \
|
||||
NS_ADDREF(foundInterface); \
|
||||
|
|
Загрузка…
Ссылка в новой задаче