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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/CSSMedia.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/sdk/CSSMedia.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/CSSMedia.js b/third_party/WebKit/Source/devtools/front_end/sdk/CSSMedia.js
index b69e6ad9b34189bfce98fa3a4d0212ea8f0886b7..43ff819b5416256f4d2feeb02fc3186ee9df4b2b 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/CSSMedia.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/CSSMedia.js
@@ -50,7 +50,7 @@ SDK.CSSMediaQueryExpression = class {
this._value = payload.value;
this._unit = payload.unit;
this._feature = payload.feature;
- this._valueRange = payload.valueRange ? Common.TextRange.fromObject(payload.valueRange) : null;
+ this._valueRange = payload.valueRange ? TextUtils.TextRange.fromObject(payload.valueRange) : null;
this._computedLength = payload.computedLength || null;
}
@@ -84,7 +84,7 @@ SDK.CSSMediaQueryExpression = class {
}
/**
- * @return {?Common.TextRange}
+ * @return {?TextUtils.TextRange}
*/
valueRange() {
return this._valueRange;
@@ -140,7 +140,7 @@ SDK.CSSMedia = class {
this.text = payload.text;
this.source = payload.source;
this.sourceURL = payload.sourceURL || '';
- this.range = payload.range ? Common.TextRange.fromObject(payload.range) : null;
+ this.range = payload.range ? TextUtils.TextRange.fromObject(payload.range) : null;
this.styleSheetId = payload.styleSheetId;
this.mediaList = null;
if (payload.mediaList) {

Powered by Google App Engine
This is Rietveld 408576698