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

Unified Diff: third_party/WebKit/Source/platform/geometry/FloatRoundedRectTest.cpp

Issue 2269713002: Remove redundant String casts in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/geometry/FloatRoundedRectTest.cpp
diff --git a/third_party/WebKit/Source/platform/geometry/FloatRoundedRectTest.cpp b/third_party/WebKit/Source/platform/geometry/FloatRoundedRectTest.cpp
index bb95217e6c64df95c574f3bb54e80da4a61c01d6..c78cc4796487a8f1623729571b1709fff3d815ba 100644
--- a/third_party/WebKit/Source/platform/geometry/FloatRoundedRectTest.cpp
+++ b/third_party/WebKit/Source/platform/geometry/FloatRoundedRectTest.cpp
@@ -178,7 +178,7 @@ TEST(FloatRoundedRectTest, ToString)
{
FloatSize cornerRect(1, 2);
FloatRoundedRect roundedRect(FloatRect(3, 5, 7, 11), FloatRoundedRect::Radii(cornerRect, cornerRect, cornerRect, cornerRect));
- EXPECT_EQ(String("3,5 7x11 radii:(tl:1x2; tr:1x2; bl:1x2; br:1x2)"), roundedRect.toString());
+ EXPECT_EQ("3,5 7x11 radii:(tl:1x2; tr:1x2; bl:1x2; br:1x2)", roundedRect.toString());
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698