Bug 504487 nativeBindings is unused in nsXBLWindowKeyHandler::WalkHandlers

r=neil
This commit is contained in:
timeless@mozdev.org 2009-07-22 17:31:01 -05:00
parent 711722cebc
commit a505c4ee0b

View File

@ -360,8 +360,7 @@ nsXBLWindowKeyHandler::WalkHandlers(nsIDOMKeyEvent* aKeyEvent, nsIAtom* aEventTy
WalkHandlersInternal(aKeyEvent, aEventType, mHandler);
nsINativeKeyBindings *nativeBindings;
if (isEditor && (nativeBindings = GetEditorKeyBindings())) {
if (isEditor && GetEditorKeyBindings()) {
nsNativeKeyEvent nativeEvent;
// get the DOM window we're attached to
nsCOMPtr<nsIControllers> controllers;