Bug 1383816 - Deletes extraneous mType statement from FocusTarget.cpp; r?botond, rhunt draft
authorJeff Hajewski <jeff.hajewski@gmail.com>
Sun, 03 Sep 2017 08:35:08 -0500
changeset 658120 9fbbf634308f9876fdf9dfb3fb6c7665dfe653e2
parent 658119 3f8e9c494aea9d9d7ce8c070c462f66bc66f3ed8
child 729590 5ffa47d3a31f0ed21e519997cb75a2b2cc5c5e7b
push id77701
push userjeff.hajewski@gmail.com
push dateSun, 03 Sep 2017 13:35:27 +0000
reviewersbotond, rhunt
bugs1383816
milestone57.0a1
Bug 1383816 - Deletes extraneous mType statement from FocusTarget.cpp; r?botond, rhunt MozReview-Commit-ID: HiDhwzvWYfq
gfx/layers/apz/src/FocusTarget.cpp
--- a/gfx/layers/apz/src/FocusTarget.cpp
+++ b/gfx/layers/apz/src/FocusTarget.cpp
@@ -121,17 +121,16 @@ FocusTarget::FocusTarget(nsIPresShell* a
     return;
   }
 
   nsCOMPtr<nsIDocument> document = presShell->GetDocument();
   if (!document) {
     FT_LOG("Creating nil target with seq=%" PRIu64 " (no document)\n",
            aFocusSequenceNumber);
 
-    mType = FocusTarget::eNone;
     return;
   }
 
   // Find the focused content and use it to determine whether there are key event
   // listeners or whether key events will be targeted at a different process
   // through a remote browser.
   nsCOMPtr<nsIContent> focusedContent = presShell->GetFocusedContentInOurWindow();
   nsCOMPtr<nsIContent> keyEventTarget = focusedContent;