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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/color-swatch-position.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/sources/color-swatch-position.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/color-swatch-position.html b/third_party/WebKit/LayoutTests/inspector/sources/color-swatch-position.html
index 9f300219f3744f54d7791df05a737fb03b167609..b901f596c588f9448f3b9c3f29b33ecdef0689df 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/color-swatch-position.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/color-swatch-position.html
@@ -29,7 +29,7 @@ function test()
function testAddLine(next)
{
- var start = Common.TextRange.createFromLocation(0, 0);
+ var start = TextUtils.TextRange.createFromLocation(0, 0);
sourceFrame.textEditor.editRange(start, "/* New line */\n");
InspectorTest.dumpSwatchPositions(sourceFrame, Sources.CSSSourceFrame.SwatchBookmark);
next();
@@ -37,7 +37,7 @@ function test()
function testDeleteLine(next)
{
- var bodyLine = new Common.TextRange(2, 0, 3, 0);
+ var bodyLine = new TextUtils.TextRange(2, 0, 3, 0);
sourceFrame.textEditor.editRange(bodyLine, "");
InspectorTest.dumpSwatchPositions(sourceFrame, Sources.CSSSourceFrame.SwatchBookmark);
next();
@@ -45,7 +45,7 @@ function test()
function testAddColor(next)
{
- var emptyBodyLine = new Common.TextRange(2, 0, 2, 0);
+ var emptyBodyLine = new TextUtils.TextRange(2, 0, 2, 0);
sourceFrame.textEditor.editRange(emptyBodyLine, "color: hsl(300, 100%, 35%);");
InspectorTest.dumpSwatchPositions(sourceFrame, Sources.CSSSourceFrame.SwatchBookmark);
next();
@@ -53,7 +53,7 @@ function test()
function testInvalidateColor(next)
{
- var endParenthesis = new Common.TextRange(2, 25, 2, 26);
+ var endParenthesis = new TextUtils.TextRange(2, 25, 2, 26);
sourceFrame.textEditor.editRange(endParenthesis, "]");
InspectorTest.dumpSwatchPositions(sourceFrame, Sources.CSSSourceFrame.SwatchBookmark);
next();
@@ -61,7 +61,7 @@ function test()
function testBookmarksAtLineStart(next)
{
- var lineStart = new Common.TextRange(5, 0, 5, 0);
+ var lineStart = new TextUtils.TextRange(5, 0, 5, 0);
sourceFrame.textEditor.editRange(lineStart, "background color:\n#ff0;\n");
InspectorTest.dumpSwatchPositions(sourceFrame, Sources.CSSSourceFrame.SwatchBookmark);
next();

Powered by Google App Engine
This is Rietveld 408576698