| Index: chrome/content/tests/ui/icon_position.js | 
| =================================================================== | 
| --- a/chrome/content/tests/ui/icon_position.js | 
| +++ b/chrome/content/tests/ui/icon_position.js | 
| @@ -12,17 +12,17 @@ | 
| } | 
| catch (e) | 
| { | 
| usingShim = true; | 
| // No built-in CustomizableUI API, use our own implementation. | 
| ({CustomizableUI}) = require("customizableUI"); | 
| } | 
|  | 
| -  let wnd = Utils.getChromeWindow(window); | 
| +  let wnd = UI.currentWindow; | 
| let defaultParent = require("appSupport").defaultToolbarPosition.parent; | 
|  | 
| let toolbox; | 
| if (usingShim) | 
| { | 
| let toolbar = wnd.document.getElementById(defaultParent); | 
| if (!toolbar) | 
| return; | 
|  |