Bug 1383816 - Deletes extraneous mType statement from FocusTarget.cpp; r?botond, rhunt
MozReview-Commit-ID: HiDhwzvWYfq
--- 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;