bug 1241453 - allow xpcAccessibleDocument::mCache to use proxies as keys r=davidb
authorTrevor Saunders <tbsaunde@tbsaunde.org>
Tue, 19 Jan 2016 09:54:53 -0500
changeset 318026 f97fa91a4a9e92686adc41849cd6b087b6348664
parent 318025 cb2fb56c44aafc52e833370060128455a25bf5a2
child 318027 1acf6d48e34c69a8573e32395487ef2677a5e8d2
push id5913
push userjlund@mozilla.com
push dateMon, 25 Apr 2016 16:57:49 +0000
treeherdermozilla-beta@dcaf0a6fa115 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdavidb
bugs1241453
milestone47.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 1241453 - allow xpcAccessibleDocument::mCache to use proxies as keys r=davidb
accessible/xpcom/xpcAccessibleDocument.h
--- a/accessible/xpcom/xpcAccessibleDocument.h
+++ b/accessible/xpcom/xpcAccessibleDocument.h
@@ -73,17 +73,17 @@ private:
   }
 
   friend class DocManager;
   friend class DocAccessible;
 
   xpcAccessibleDocument(const xpcAccessibleDocument&) = delete;
   xpcAccessibleDocument& operator =(const xpcAccessibleDocument&) = delete;
 
-  nsRefPtrHashtable<nsPtrHashKey<const Accessible>, xpcAccessibleGeneric> mCache;
+  nsRefPtrHashtable<nsPtrHashKey<const void>, xpcAccessibleGeneric> mCache;
 };
 
 inline xpcAccessibleGeneric*
 ToXPC(Accessible* aAccessible)
 {
   if (!aAccessible)
     return nullptr;