bug 1207862 - make WrapperFor() take a const ProxyAccessible * r=davidb
authorTrevor Saunders <tbsaunde@tbsaunde.org>
Wed, 23 Sep 2015 17:18:18 -0400
changeset 264269 33983344a8d986ab345a17d55a125b96926929cc
parent 264268 222b880291e00627b2de4ba198c0b5a1726e3dc6
child 264270 e9bb88c728f962bfe4c8feaed0663aa4615c7ae5
push id65589
push usertsaunders@mozilla.com
push dateThu, 24 Sep 2015 23:23:40 +0000
treeherdermozilla-inbound@e9bb88c728f9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdavidb
bugs1207862
milestone44.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 1207862 - make WrapperFor() take a const ProxyAccessible * r=davidb
accessible/windows/msaa/AccessibleWrap.h
--- a/accessible/windows/msaa/AccessibleWrap.h
+++ b/accessible/windows/msaa/AccessibleWrap.h
@@ -227,17 +227,17 @@ protected:
     NAVRELATION_NODE_PARENT_OF = 0x1010,
     NAVRELATION_CONTAINING_DOCUMENT = 0x1011,
     NAVRELATION_CONTAINING_TAB_PANE = 0x1012,
     NAVRELATION_CONTAINING_APPLICATION = 0x1014
   };
 };
 
 static inline AccessibleWrap*
-WrapperFor(ProxyAccessible* aProxy)
+WrapperFor(const ProxyAccessible* aProxy)
 {
   return reinterpret_cast<AccessibleWrap*>(aProxy->GetWrapper());
 }
 
 } // namespace a11y
 } // namespace mozilla
 
 #ifdef XP_WIN