bug 1325834 - fixup windows bustage landed on a CLOSED TREE
authorTrevor Saunders <tbsaunde@tbsaunde.org>
Tue, 17 Jan 2017 15:48:14 -0500
changeset 374712 148ee5df4dd3138b24d70dfd11b82499beda368c
parent 374711 cbce75114440f0a37d65ce3fb4725e288fc24c08
child 374713 9bd54089097bfc41ab6c728ef63736b9168c51ae
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1325834
milestone53.0a1
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
bug 1325834 - fixup windows bustage landed on a CLOSED TREE
accessible/generic/DocAccessible.cpp
--- a/accessible/generic/DocAccessible.cpp
+++ b/accessible/generic/DocAccessible.cpp
@@ -1465,18 +1465,18 @@ DocAccessible::DoInitialUpdate()
     mDocFlags |= eTabDocument;
     if (IPCAccessibilityActive()) {
       nsIDocShell* docShell = mDocumentNode->GetDocShell();
       if (RefPtr<dom::TabChild> tabChild = dom::TabChild::GetFrom(docShell)) {
         DocAccessibleChild* ipcDoc = new DocAccessibleChild(this);
         SetIPCDoc(ipcDoc);
 
 #if defined(XP_WIN)
-        IAccessibleHolder holder(CreateHolderFromAccessible(docAcc));
-        int32_t childID = AccessibleWrap::GetChildIDFor(docAcc);
+        IAccessibleHolder holder(CreateHolderFromAccessible(this));
+        int32_t childID = AccessibleWrap::GetChildIDFor(this);
 #else
         int32_t holder = 0, childID = 0;
 #endif
         tabChild->SendPDocAccessibleConstructor(ipcDoc, nullptr, 0, childID,
                                                 holder);
       }
     }
   }