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

Unified Diff: third_party/WebKit/Source/devtools/front_end/object_ui/ObjectPropertiesSection.js

Issue 2769843003: DevTools: split text_utils out of common module (Closed)
Patch Set: rebaseline Created 3 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: third_party/WebKit/Source/devtools/front_end/object_ui/ObjectPropertiesSection.js
diff --git a/third_party/WebKit/Source/devtools/front_end/object_ui/ObjectPropertiesSection.js b/third_party/WebKit/Source/devtools/front_end/object_ui/ObjectPropertiesSection.js
index 24307f6add19147fe4b8ab407041ca07726214c1..e4731e87f991fd9dfe089f354655f702d76bce6a 100644
--- a/third_party/WebKit/Source/devtools/front_end/object_ui/ObjectPropertiesSection.js
+++ b/third_party/WebKit/Source/devtools/front_end/object_ui/ObjectPropertiesSection.js
@@ -657,7 +657,7 @@ ObjectUI.ObjectPropertyTreeElement = class extends UI.TreeElement {
regex.lastIndex = 0;
var match = regex.exec(content);
while (match) {
- ranges.push(new Common.SourceRange(match.index, match[0].length));
+ ranges.push(new TextUtils.SourceRange(match.index, match[0].length));
match = regex.exec(content);
}
if (ranges.length)

Powered by Google App Engine
This is Rietveld 408576698