bug 1191326 - always initialize ProxyAccessible::mOuterDoc r=lsocks
authorTrevor Saunders <tbsaunde@tbsaunde.org>
Wed, 05 Aug 2015 10:31:26 -0400
changeset 287975 7323c5f4a3526ee83a28708911d964a4a6f4fb25
parent 287974 712501bf9b886066f5f8c2ce6ff3e7b3c5ad3000
child 287976 18664c635ae04af51345029c39f856cfb2537cb3
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslsocks
bugs1191326
milestone42.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 1191326 - always initialize ProxyAccessible::mOuterDoc r=lsocks
accessible/ipc/ProxyAccessible.h
--- a/accessible/ipc/ProxyAccessible.h
+++ b/accessible/ipc/ProxyAccessible.h
@@ -320,17 +320,17 @@ public:
   /*
    * Return the ID of the accessible being proxied.
    */
   uint64_t ID() const { return mID; }
 
 protected:
   explicit ProxyAccessible(DocAccessibleParent* aThisAsDoc) :
     mParent(nullptr), mDoc(aThisAsDoc), mWrapper(0), mID(0),
-    mRole(roles::DOCUMENT)
+    mRole(roles::DOCUMENT), mOuterDoc(false)
   { MOZ_COUNT_CTOR(ProxyAccessible); }
 
 protected:
   ProxyAccessible* mParent;
 
 private:
   nsTArray<ProxyAccessible*> mChildren;
   DocAccessibleParent* mDoc;