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

Unified Diff: third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js

Issue 2238883004: DevTools: Split off SourcesTextEditor from CodeMirrorTextEditor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Stray line Created 4 years, 4 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: third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js
diff --git a/third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js b/third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js
index 1d24736d5403f922fe93f5e8b74a28f1aa5da031..fdda3c26e1fa99b3225f1d5f6f923b652dbf2a40 100644
--- a/third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js
+++ b/third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js
@@ -33,7 +33,7 @@
* @extends {WebInspector.SimpleView}
* @implements {WebInspector.Searchable}
* @implements {WebInspector.Replaceable}
- * @implements {WebInspector.TextEditorDelegate}
+ * @implements {WebInspector.SourcesTextEditorDelegate}
* @param {string} url
* @param {function(): !Promise<?string>} lazyContent
*/
@@ -44,7 +44,7 @@ WebInspector.SourceFrame = function(url, lazyContent)
this._url = url;
this._lazyContent = lazyContent;
- this._textEditor = new WebInspector.CodeMirrorTextEditor(this);
+ this._textEditor = new WebInspector.SourcesTextEditor(this);
this._currentSearchResultIndex = -1;
this._searchResults = [];

Powered by Google App Engine
This is Rietveld 408576698