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

Unified Diff: Source/devtools/front_end/sources/StyleSheetOutlineDialog.js

Issue 1356363002: [DevTools] Remove relativeToElement from Dialog. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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
Index: Source/devtools/front_end/sources/StyleSheetOutlineDialog.js
diff --git a/Source/devtools/front_end/sources/StyleSheetOutlineDialog.js b/Source/devtools/front_end/sources/StyleSheetOutlineDialog.js
index 94d6b662f91c8d672b452b97f9b5008bb867dd9e..c2ceabfb51b26708382bfd4db9718ea37a04f808 100644
--- a/Source/devtools/front_end/sources/StyleSheetOutlineDialog.js
+++ b/Source/devtools/front_end/sources/StyleSheetOutlineDialog.js
@@ -42,17 +42,16 @@ WebInspector.StyleSheetOutlineDialog = function(uiSourceCode, selectItemCallback
}
/**
- * @param {!WebInspector.Widget} view
* @param {!WebInspector.UISourceCode} uiSourceCode
* @param {function(number, number)} selectItemCallback
*/
-WebInspector.StyleSheetOutlineDialog.show = function(view, uiSourceCode, selectItemCallback)
+WebInspector.StyleSheetOutlineDialog.show = function(uiSourceCode, selectItemCallback)
{
if (WebInspector.Dialog.currentInstance())
return;
var delegate = new WebInspector.StyleSheetOutlineDialog(uiSourceCode, selectItemCallback);
var filteredItemSelectionDialog = new WebInspector.FilteredItemSelectionDialog(delegate);
- WebInspector.Dialog.show(view.element, filteredItemSelectionDialog);
+ WebInspector.Dialog.show(filteredItemSelectionDialog);
}
WebInspector.StyleSheetOutlineDialog.prototype = {
« no previous file with comments | « Source/devtools/front_end/sources/SourcesView.js ('k') | Source/devtools/front_end/timeline/TimelinePanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698