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

Unified Diff: third_party/WebKit/Source/platform/animation/TimingFunction.cpp

Issue 2007103003: Expand WTF::StringView's API to be more like StringPiece. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove bad assert. Created 4 years, 7 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/platform/animation/TimingFunction.cpp
diff --git a/third_party/WebKit/Source/platform/animation/TimingFunction.cpp b/third_party/WebKit/Source/platform/animation/TimingFunction.cpp
index 52c16dde646b4703e9c1ef462a91779a2fce12d2..de8bf896f34448417550ef0f08675133d649c1be 100644
--- a/third_party/WebKit/Source/platform/animation/TimingFunction.cpp
+++ b/third_party/WebKit/Source/platform/animation/TimingFunction.cpp
@@ -127,7 +127,9 @@ String StepsTimingFunction::toString() const
builder.append("step-");
builder.append(positionString);
} else {
- builder.append("steps(" + String::numberToStringECMAScript(this->numberOfSteps()) + ", ");
+ builder.append("steps(");
+ builder.append(String::numberToStringECMAScript(this->numberOfSteps()));
+ builder.append(", ");
builder.append(positionString);
builder.append(')');
}
« no previous file with comments | « third_party/WebKit/Source/core/testing/UnionTypesTest.cpp ('k') | third_party/WebKit/Source/platform/exported/WebString.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698