Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/emulation/AdvancedApp.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/AdvancedApp.js b/third_party/WebKit/Source/devtools/front_end/emulation/AdvancedApp.js |
| index 4bdeda200762107ae1e04aae797394445b6b7047..196da58c784a3ca407740edb0bbf6aaf95f84501 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/emulation/AdvancedApp.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/emulation/AdvancedApp.js |
| @@ -71,7 +71,7 @@ Emulation.AdvancedApp = class { |
| */ |
| toolboxLoaded(toolboxDocument) { |
| UI.initializeUIUtils(toolboxDocument, Common.settings.createSetting('uiTheme', 'default')); |
| - UI.installComponentRootStyles(/** @type {!Element} */ (toolboxDocument.body)); |
| + UI.installComponentRootStyles(toolboxDocument, /** @type {!Element} */ (toolboxDocument.body)); |
|
alph
2017/05/22 18:50:08
You don't need a document. Please check how we do
|
| UI.ContextMenu.installHandler(toolboxDocument); |
| UI.Tooltip.installHandler(toolboxDocument); |