Bug 532422, this landing just removes unused variable r=Olli
authorMasayuki Nakano <masayuki@d-toybox.com>
Fri, 08 Jan 2010 14:01:42 +0900
changeset 36946 b919e8a488903207396e0502bba1051a30f11528
parent 36945 500e3dbc7d35c92e04342672dd7c80536a868b44
child 36947 1f9ae6f1f9c55e256aa99649a8a91dea1e065df8
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersOlli
bugs532422
milestone1.9.3a1pre
Bug 532422, this landing just removes unused variable r=Olli
layout/base/nsPresShell.cpp
--- a/layout/base/nsPresShell.cpp
+++ b/layout/base/nsPresShell.cpp
@@ -5953,18 +5953,17 @@ PresShell::GetFocusedDOMWindowInOurWindo
 {
   nsCOMPtr<nsPIDOMWindow> window =
     do_QueryInterface(mDocument->GetWindow());
   NS_ENSURE_TRUE(window, nsnull);
 
   nsCOMPtr<nsPIDOMWindow> rootWindow = window->GetPrivateRoot();
   NS_ENSURE_TRUE(rootWindow, nsnull);
   nsPIDOMWindow* focusedWindow;
-  nsIContent* content =
-    nsFocusManager::GetFocusedDescendant(rootWindow, PR_TRUE, &focusedWindow);
+  nsFocusManager::GetFocusedDescendant(rootWindow, PR_TRUE, &focusedWindow);
   return focusedWindow;
 }
 
 NS_IMETHODIMP
 PresShell::HandleEvent(nsIView         *aView,
                        nsGUIEvent*     aEvent,
                        nsEventStatus*  aEventStatus)
 {