Bug 1353711 - Changing reference to this.AppConstants to parent AppConstants, removing local AppConstants field r=dao

MozReview-Commit-ID: Hgo4FjreOos

--HG--
extra : rebase_source : 490b603e3f3f00d7290e1aadf276079845887fc1
This commit is contained in:
RyanBRiley 2017-04-13 18:45:00 -06:00
Родитель 8dc292c901
Коммит f7f53449d6
1 изменённых файлов: 1 добавлений и 5 удалений

Просмотреть файл

@ -931,10 +931,6 @@
<xul:vbox anonid="search-one-off-buttons" class="search-one-offs"/>
</content>
<implementation>
<field name="AppConstants" readonly="true">
(Components.utils.import("resource://gre/modules/AppConstants.jsm", {})).AppConstants;
</field>
<method name="openAutocompletePopup">
<parameter name="aInput"/>
<parameter name="aElement"/>
@ -983,7 +979,7 @@
let params = {};
// But open ctrl/cmd clicks on autocomplete items in a new background tab.
let modifier = this.AppConstants.platform == "macosx" ?
let modifier = AppConstants.platform == "macosx" ?
aEvent.metaKey :
aEvent.ctrlKey;
if (where == "tab" && (aEvent instanceof MouseEvent) &&