|
@@ -1,6 +1,6 @@
|
|
|
window.onload = function () {
|
|
|
// Make sure |window.chrome| is defined for devtools extensions.
|
|
|
- hijackSetInjectedScript(InspectorFrontendHost)
|
|
|
+ hijackSetInjectedScript(window.InspectorFrontendHost)
|
|
|
|
|
|
// Use menu API to show context menu.
|
|
|
window.InspectorFrontendHost.showContextMenuAtPoint = createMenu
|