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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/styles/original-content-provider.html

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/LayoutTests/inspector/elements/styles/original-content-provider.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/styles/original-content-provider.html b/third_party/WebKit/LayoutTests/inspector/elements/styles/original-content-provider.html
index 8a1d180a95f8966f5e355bf9894164df1d72e643..25904c2fa99ac3858cab870a232f1f8b3f28ed81 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/styles/original-content-provider.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/styles/original-content-provider.html
@@ -47,7 +47,7 @@ function test()
function testSetStyle(next)
{
var header = headers.find(header => header.sourceURL.endsWith("set-style.css"));
- InspectorTest.cssModel.setStyleText(header.id, new Common.TextRange(1, 5, 1, 18), "EDITED: EDITED", true)
+ InspectorTest.cssModel.setStyleText(header.id, new TextUtils.TextRange(1, 5, 1, 18), "EDITED: EDITED", true)
.then(success => onEdit(header, success))
.then(next);
},
@@ -55,7 +55,7 @@ function test()
function testSetSelector(next)
{
var header = headers.find(header => header.sourceURL.endsWith("set-selector.css"));
- InspectorTest.cssModel.setSelectorText(header.id, new Common.TextRange(1, 0, 1, 3), "EDITED")
+ InspectorTest.cssModel.setSelectorText(header.id, new TextUtils.TextRange(1, 0, 1, 3), "EDITED")
.then(success => onEdit(header, success))
.then(next);
},
@@ -63,7 +63,7 @@ function test()
function testSetMedia(next)
{
var header = headers.find(header => header.sourceURL.endsWith("set-media.css"));
- InspectorTest.cssModel.setMediaText(header.id, new Common.TextRange(1, 7, 1, 12), "EDITED")
+ InspectorTest.cssModel.setMediaText(header.id, new TextUtils.TextRange(1, 7, 1, 12), "EDITED")
.then(success => onEdit(header, success))
.then(next);
},
@@ -71,7 +71,7 @@ function test()
function testSetKeyframeKey(next)
{
var header = headers.find(header => header.sourceURL.endsWith("set-keyframe-key.css"));
- InspectorTest.cssModel.setKeyframeKey(header.id, new Common.TextRange(1, 23, 1, 27), "from")
+ InspectorTest.cssModel.setKeyframeKey(header.id, new TextUtils.TextRange(1, 23, 1, 27), "from")
.then(success => onEdit(header, success))
.then(next);
},
@@ -79,7 +79,7 @@ function test()
function testAddRule(next)
{
var header = headers.find(header => header.sourceURL.endsWith("add-rule.css"));
- InspectorTest.cssModel.addRule(header.id, "EDITED {}\n", new Common.TextRange(1, 0, 1, 0))
+ InspectorTest.cssModel.addRule(header.id, "EDITED {}\n", new TextUtils.TextRange(1, 0, 1, 0))
.then(success => onEdit(header, success))
.then(next);
},

Powered by Google App Engine
This is Rietveld 408576698