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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/CSSStyleDeclaration.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/CSSStyleDeclaration.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/CSSStyleDeclaration.js b/third_party/WebKit/Source/devtools/front_end/sdk/CSSStyleDeclaration.js
index ab0b8fe1a43ff5b2b726c6f9d22913071dee525e..8ae010f6f7c1e4dfef3666b10e1b999844636a5f 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/CSSStyleDeclaration.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/CSSStyleDeclaration.js
@@ -15,7 +15,7 @@ SDK.CSSStyleDeclaration = class {
this._allProperties;
/** @type {string|undefined} */
this.styleSheetId;
- /** @type {?Common.TextRange} */
+ /** @type {?TextUtils.TextRange} */
this.range;
/** @type {string|undefined} */
this.cssText;
@@ -51,7 +51,7 @@ SDK.CSSStyleDeclaration = class {
*/
_reinitialize(payload) {
this.styleSheetId = payload.styleSheetId;
- this.range = payload.range ? Common.TextRange.fromObject(payload.range) : null;
+ this.range = payload.range ? TextUtils.TextRange.fromObject(payload.range) : null;
var shorthandEntries = payload.shorthandEntries;
this._shorthandValues = new Map();
@@ -253,7 +253,7 @@ SDK.CSSStyleDeclaration = class {
/**
* @param {number} index
- * @return {!Common.TextRange}
+ * @return {!TextUtils.TextRange}
*/
_insertionRange(index) {
var property = this.propertyAt(index);

Powered by Google App Engine
This is Rietveld 408576698