Skip to content

Commit 464faf3

Browse files
committed
Bug 1390209 - Follow-up patch to remove a reference to removed interfaces. r=qdot
MozReview-Commit-ID: LLHItOR1atG --HG-- extra : rebase_source : 68e5f2d1a07503721d80b3ec480f16ea3a63fe38
1 parent 5f03596 commit 464faf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mobile/android/chrome/content/browser.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7101,7 +7101,7 @@ HTMLContextMenuItem.prototype = Object.create(ContextMenuItem.prototype, {
71017101
}
71027102

71037103
// If this is a menu item, show a new context menu with the submenu in it
7104-
if (elt instanceof Ci.nsIDOMHTMLMenuElement) {
7104+
if (elt instanceof HTMLMenuElement) {
71057105
try {
71067106
NativeWindow.contextmenus.menus = {};
71077107

@@ -7144,7 +7144,7 @@ HTMLContextMenuItem.prototype = Object.create(ContextMenuItem.prototype, {
71447144
icon: elt.icon,
71457145
label: elt.label,
71467146
disabled: elt.disabled,
7147-
menu: elt instanceof Ci.nsIDOMHTMLMenuElement
7147+
menu: elt instanceof HTMLMenuElement
71487148
};
71497149
}
71507150
},

0 commit comments

Comments
 (0)