bug 1194853 - pass the correct interfaces to Proxycreated when creating documents r=davidb
authorTrevor Saunders <tbsaunde@tbsaunde.org>
Fri, 14 Aug 2015 16:12:20 -0400
changeset 258052 87623e7c8a541e6e4ce297c5a268b97db5e8dbe8
parent 258051 9401a3b12b4f7640380baac8358ad332551953e8
child 258053 ece1a3c3f06f4661b772b447fc0adadb2a9c30b7
push idunknown
push userunknown
push dateunknown
reviewersdavidb
bugs1194853
milestone43.0a1
bug 1194853 - pass the correct interfaces to Proxycreated when creating documents r=davidb
accessible/ipc/DocAccessibleParent.cpp
--- a/accessible/ipc/DocAccessibleParent.cpp
+++ b/accessible/ipc/DocAccessibleParent.cpp
@@ -219,17 +219,17 @@ DocAccessibleParent::AddChildDoc(DocAcce
   MOZ_ASSERT(outerDoc);
 
   aChildDoc->mParent = outerDoc;
   outerDoc->SetChildDoc(aChildDoc);
   mChildDocs.AppendElement(aChildDoc);
   aChildDoc->mParentDoc = this;
 
   if (aCreating) {
-    ProxyCreated(aChildDoc, 0);
+    ProxyCreated(aChildDoc, Interfaces::DOCUMENT | Interfaces::HYPERTEXT);
   }
 
   return true;
 }
 
 bool
 DocAccessibleParent::RecvShutdown()
 {