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

Unified Diff: Source/devtools/front_end/source_frame/GoToLineDialog.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/source_frame/GoToLineDialog.js
diff --git a/Source/devtools/front_end/source_frame/GoToLineDialog.js b/Source/devtools/front_end/source_frame/GoToLineDialog.js
index 949542eb34fe40a6199a086f5fca00d75db622d7..72c786b4af198f5e60644970da6e21403af4f8ab 100644
--- a/Source/devtools/front_end/source_frame/GoToLineDialog.js
+++ b/Source/devtools/front_end/source_frame/GoToLineDialog.js
@@ -70,7 +70,7 @@ WebInspector.GoToLineDialog._show = function(sourceFrameGetter, event)
var sourceFrame = sourceFrameGetter();
if (!sourceFrame)
return false;
- WebInspector.Dialog.show(sourceFrame.element, new WebInspector.GoToLineDialog(sourceFrame));
+ WebInspector.Dialog.show(new WebInspector.GoToLineDialog(sourceFrame));
return true;
}
« no previous file with comments | « Source/devtools/front_end/settings/SettingsScreen.js ('k') | Source/devtools/front_end/sources/AddSourceMapURLDialog.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698