mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 970485 - Australis widget wrapper's anchor property for API-provided widgets causes exceptions, r=mikedeboer
--HG-- extra : rebase_source : 6566464caed0c4bf207e7f8b0d6bb0630f5aad7e
This commit is contained in:
parent
9df2447fa1
commit
45a56b61c0
@ -3139,7 +3139,7 @@ function WidgetSingleWrapper(aWidget, aNode) {
|
|||||||
this.__defineGetter__("anchor", function() {
|
this.__defineGetter__("anchor", function() {
|
||||||
let anchorId;
|
let anchorId;
|
||||||
// First check for an anchor for the area:
|
// First check for an anchor for the area:
|
||||||
let placement = CustomizableUIInternal.getPlacementOfWidget(aWidgetId);
|
let placement = CustomizableUIInternal.getPlacementOfWidget(aWidget.id);
|
||||||
if (placement) {
|
if (placement) {
|
||||||
anchorId = gAreas.get(placement.area).get("anchor");
|
anchorId = gAreas.get(placement.area).get("anchor");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user