Backed out changeset f562d0ea59ef (bug 1364364)
authorSebastian Hengst <archaeopteryx@coole-files.de>
Thu, 07 Sep 2017 16:49:16 +0200
changeset 428962 710a16034611d6d4860847a493c77b2cfb97914f
parent 428961 515aab24cac41fe8804e6ebeabe2f8c9323d5b5e
child 428963 38c2e85644f9f913dd47ec7bd3cda2b5b79a8fe9
push id7761
push userjlund@mozilla.com
push dateFri, 15 Sep 2017 00:19:52 +0000
treeherdermozilla-beta@c38455951db4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1364364
milestone57.0a1
backs outf562d0ea59ef5967b3dc74d1f836c04ed4b97286
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset f562d0ea59ef (bug 1364364)
layout/base/nsDocumentViewer.cpp
--- a/layout/base/nsDocumentViewer.cpp
+++ b/layout/base/nsDocumentViewer.cpp
@@ -1502,18 +1502,16 @@ nsDocumentViewer::Open(nsISupports *aSta
       nsCOMPtr<nsIDocShell> shell = do_QueryInterface(item);
       AttachContainerRecurse(shell);
     }
   }
 
   SyncParentSubDocMap();
 
   if (mFocusListener && mDocument) {
-    // The focus listener may have been disconnected.
-    mFocusListener->Init(this);
     mDocument->AddEventListener(NS_LITERAL_STRING("focus"), mFocusListener,
                                 false, false);
     mDocument->AddEventListener(NS_LITERAL_STRING("blur"), mFocusListener,
                                 false, false);
   }
 
   // XXX re-enable image animations once that works correctly