deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@155867 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -53,6 +53,7 @@ REQUIRES = string \
|
||||
caps \
|
||||
xpconnect \
|
||||
js \
|
||||
layout \
|
||||
$(NULL)
|
||||
|
||||
LIBRARY_NAME = commandhandler_s
|
||||
|
||||
@@ -325,8 +325,7 @@ nsCommandManager::GetControllerForCommand(const char *aCommand,
|
||||
if (!window)
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
nsCOMPtr<nsIFocusController> focusController;
|
||||
rv = window->GetRootFocusController(getter_AddRefs(focusController));
|
||||
nsIFocusController *focusController = window->GetRootFocusController();
|
||||
if (!focusController)
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user