diff --git a/accessible/windows/msaa/Platform.cpp b/accessible/windows/msaa/Platform.cpp index b2b0aa54558a..65b33102f3ef 100644 --- a/accessible/windows/msaa/Platform.cpp +++ b/accessible/windows/msaa/Platform.cpp @@ -49,6 +49,10 @@ a11y::ProxyDestroyed(ProxyAccessible* aProxy) { ProxyAccessibleWrap* wrapper = reinterpret_cast(aProxy->GetWrapper()); + MOZ_ASSERT(wrapper); + if (!wrapper) + return; + wrapper->Shutdown(); aProxy->SetWrapper(0); wrapper->Release(); diff --git a/b2g/app/b2g.js b/b2g/app/b2g.js index e35640f5cfab..a4b5d71f4eb2 100644 --- a/b2g/app/b2g.js +++ b/b2g/app/b2g.js @@ -675,9 +675,6 @@ pref("dom.forms.number", true); // implemented for b2g (bug 875751) pref("dom.forms.color", false); -// Turns on gralloc-based direct texturing for Gonk -pref("gfx.gralloc.enabled", false); - // This preference instructs the JS engine to discard the // source of any privileged JS after compilation. This saves // memory, but makes things like Function.prototype.toSource() diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index 9359a41d6c92..aadde371f689 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -6696,6 +6696,10 @@ var gIdentityHandler = { delete this._identityIconCountryLabel; return this._identityIconCountryLabel = document.getElementById("identity-icon-country-label"); }, + get _identityIcons () { + delete this._identityIcons; + return this._identityIcons = document.getElementById("identity-icons"); + }, get _identityIcon () { delete this._identityIcon; return this._identityIcon = document.getElementById("page-proxy-favicon"); @@ -6715,12 +6719,14 @@ var gIdentityHandler = { */ _cacheElements : function() { delete this._identityBox; + delete this._identityIcons; delete this._identityIconLabel; delete this._identityIconCountryLabel; delete this._identityIcon; delete this._permissionsContainer; delete this._permissionList; this._identityBox = document.getElementById("identity-box"); + this._identityIcons = document.getElementById("identity-icons"); this._identityIconLabel = document.getElementById("identity-icon-label"); this._identityIconCountryLabel = document.getElementById("identity-icon-country-label"); this._identityIcon = document.getElementById("page-proxy-favicon"); @@ -7130,7 +7136,7 @@ var gIdentityHandler = { this._identityBox.setAttribute("open", "true"); // Now open the popup, anchored off the primary chrome element - this._identityPopup.openPopup(this._identityIcon, "bottomcenter topleft"); + this._identityPopup.openPopup(this._identityIcons, "bottomcenter topleft"); }, onPopupShown(event) { diff --git a/browser/base/content/browser.xul b/browser/base/content/browser.xul index fc0728174039..40e9e1c02c5b 100644 --- a/browser/base/content/browser.xul +++ b/browser/base/content/browser.xul @@ -763,11 +763,13 @@ onclick="gIdentityHandler.handleIdentityButtonEvent(event);" onkeypress="gIdentityHandler.handleIdentityButtonEvent(event);" ondragstart="gIdentityHandler.onDragStart(event);"> - - + + + +