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

Unified Diff: Source/devtools/front_end/ExtensionServer.js

Issue 206063003: DevTools: Extract SourcesEditor from SourcesPanel. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/ExtensionServer.js
diff --git a/Source/devtools/front_end/ExtensionServer.js b/Source/devtools/front_end/ExtensionServer.js
index d0325d67d6e9d5e04b88bcf7b41afef5cb57a1f3..389bbe3114bd3743fb17c7b9a84db4c0f4609a17 100644
--- a/Source/devtools/front_end/ExtensionServer.js
+++ b/Source/devtools/front_end/ExtensionServer.js
@@ -716,7 +716,7 @@ WebInspector.ExtensionServer.prototype = {
startColumn: textRange.startColumn,
endLine: textRange.endLine,
endColumn: textRange.endColumn,
- url: sourcesPanel.tabbedEditorContainer.currentFile().uri()
+ url: sourcesPanel.sourcesEditor().currentUISourceCode().uri()
};
return selection;

Powered by Google App Engine
This is Rietveld 408576698