Backed out changeset b74020af95ec (bug 1074854)
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Wed, 15 Oct 2014 16:23:15 +0200
changeset 234865 96ed72b36158e2ff48049f2ccc97712df9b2e938
parent 234864 1fb20af7e84c5ea3305cc64c57c6ce9a7f774f46
child 234866 49b06fb31f0b0ef0653fa11ffd5f98a7c603422e
push id4311
push userraliiev@mozilla.com
push dateMon, 12 Jan 2015 19:37:41 +0000
treeherdermozilla-beta@150c9fed433b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1074854
milestone36.0a1
backs outb74020af95ec6bd538679ac320a1b252215a0114
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
Backed out changeset b74020af95ec (bug 1074854)
accessible/atk/AccessibleWrap.cpp
--- a/accessible/atk/AccessibleWrap.cpp
+++ b/accessible/atk/AccessibleWrap.cpp
@@ -1003,18 +1003,17 @@ a11y::ProxyCreated(ProxyAccessible* aPro
   NS_ASSERTION(type, "why don't we have a type!");
 
   AtkObject* obj =
     reinterpret_cast<AtkObject *>
     (g_object_new(type, nullptr));
   if (!obj)
     return;
 
-  uintptr_t inner = reinterpret_cast<uintptr_t>(aProxy) | IS_PROXY;
-  atk_object_initialize(obj, reinterpret_cast<gpointer>(inner));
+  atk_object_initialize(obj, aProxy);
   obj->role = ATK_ROLE_INVALID;
   obj->layer = ATK_LAYER_INVALID;
   aProxy->SetWrapper(reinterpret_cast<uintptr_t>(obj) | IS_PROXY);
 }
 
 void
 a11y::ProxyDestroyed(ProxyAccessible* aProxy)
 {