Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1099)

Unified Diff: Source/devtools/front_end/toolbox/MediaQueryInspector.js

Issue 660503002: Revert of [DevTools] Inject element into toolbox window, do not load modules there. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/toolbox.json ('k') | Source/devtools/front_end/toolbox/ToolboxDelegate.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/toolbox/MediaQueryInspector.js
diff --git a/Source/devtools/front_end/toolbox/MediaQueryInspector.js b/Source/devtools/front_end/toolbox/MediaQueryInspector.js
index 7cd405199b338b1b232e9c1f0b749ca165d0f95d..f40bcce14aeb21c8e6ecbc0f936d0b150843cfa2 100644
--- a/Source/devtools/front_end/toolbox/MediaQueryInspector.js
+++ b/Source/devtools/front_end/toolbox/MediaQueryInspector.js
@@ -143,7 +143,7 @@
}
var contextMenuItems = uiLocations.keys().sort();
- var contextMenu = new WebInspector.ContextMenu(event, this.element.ownerDocument.defaultView);
+ var contextMenu = new WebInspector.ContextMenu(event);
var subMenuItem = contextMenu.appendSubMenuItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Reveal in source code" : "Reveal In Source Code"));
for (var i = 0; i < contextMenuItems.length; ++i) {
var title = contextMenuItems[i];
« no previous file with comments | « Source/devtools/front_end/toolbox.json ('k') | Source/devtools/front_end/toolbox/ToolboxDelegate.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698