mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
Add another ifdef to fix build
This commit is contained in:
parent
f3a2432eac
commit
913edb03a5
@ -191,10 +191,14 @@ nsresult nsAppShell::DispatchNativeEvent(void * aEvent)
|
||||
NS_METHOD
|
||||
nsAppShell::GetSelectionMgr(nsISelectionMgr** aSelectionMgr)
|
||||
{
|
||||
#ifdef USE_SELECTION_MGR
|
||||
*aSelectionMgr = mSelectionMgr;
|
||||
NS_IF_ADDREF(mSelectionMgr);
|
||||
if (!mSelectionMgr)
|
||||
return NS_ERROR_NOT_INITIALIZED;
|
||||
return NS_OK;
|
||||
#else /* USE_SELECTION_MGR */
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
#endif /* USE_SELECTION_MGR */
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user