зеркало из https://github.com/mozilla/gecko-dev.git
Added do_QueryInterface to fix build bustage for Linux
This commit is contained in:
Родитель
b0a9c7e58d
Коммит
65729a4047
|
@ -675,7 +675,7 @@ NS_IMETHODIMP nsEditorShell::SetDisplayMode(PRInt32 aDisplayMode)
|
||||||
return NS_ERROR_NULL_POINTER;
|
return NS_ERROR_NULL_POINTER;
|
||||||
|
|
||||||
// Don't need to QI (subclass)
|
// Don't need to QI (subclass)
|
||||||
styleSheet = cssStyleSheet;
|
styleSheet = do_QueryInterface(cssStyleSheet);
|
||||||
if (!styleSheet)
|
if (!styleSheet)
|
||||||
return NS_ERROR_NULL_POINTER;
|
return NS_ERROR_NULL_POINTER;
|
||||||
}
|
}
|
||||||
|
|
|
@ -675,7 +675,7 @@ NS_IMETHODIMP nsEditorShell::SetDisplayMode(PRInt32 aDisplayMode)
|
||||||
return NS_ERROR_NULL_POINTER;
|
return NS_ERROR_NULL_POINTER;
|
||||||
|
|
||||||
// Don't need to QI (subclass)
|
// Don't need to QI (subclass)
|
||||||
styleSheet = cssStyleSheet;
|
styleSheet = do_QueryInterface(cssStyleSheet);
|
||||||
if (!styleSheet)
|
if (!styleSheet)
|
||||||
return NS_ERROR_NULL_POINTER;
|
return NS_ERROR_NULL_POINTER;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче