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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/UIUtils.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/ui/UIUtils.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
index edef86920d8e16ca16ecc22b440b22ee97bff2a4..9be2aeb7582cb59d2d6dd3bb9fa154d8bf0ee01b 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
@@ -818,13 +818,13 @@ UI.ElementFocusRestorer = class {
* @return {?Element}
*/
UI.highlightSearchResult = function(element, offset, length, domChanges) {
- var result = UI.highlightSearchResults(element, [new Common.SourceRange(offset, length)], domChanges);
+ var result = UI.highlightSearchResults(element, [new TextUtils.SourceRange(offset, length)], domChanges);
return result.length ? result[0] : null;
};
/**
* @param {!Element} element
- * @param {!Array.<!Common.SourceRange>} resultRanges
+ * @param {!Array.<!TextUtils.SourceRange>} resultRanges
* @param {!Array.<!Object>=} changes
* @return {!Array.<!Element>}
*/
@@ -851,7 +851,7 @@ UI.runCSSAnimationOnce = function(element, className) {
/**
* @param {!Element} element
- * @param {!Array.<!Common.SourceRange>} resultRanges
+ * @param {!Array.<!TextUtils.SourceRange>} resultRanges
* @param {string} styleClass
* @param {!Array.<!Object>=} changes
* @return {!Array.<!Element>}

Powered by Google App Engine
This is Rietveld 408576698