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

Unified Diff: third_party/WebKit/Source/platform/text/TextStream.cpp

Issue 2640143005: Support subpixel layout for borders. (Closed)
Patch Set: Created 3 years, 11 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/text/TextStream.cpp
diff --git a/third_party/WebKit/Source/platform/text/TextStream.cpp b/third_party/WebKit/Source/platform/text/TextStream.cpp
index 755dcc6096b195f2fc1c24dcde55a4da90cf83e2..dcba47d269f8faee733114881db0ea7c4f8c7bd1 100644
--- a/third_party/WebKit/Source/platform/text/TextStream.cpp
+++ b/third_party/WebKit/Source/platform/text/TextStream.cpp
@@ -159,7 +159,7 @@ TextStream& operator<<(TextStream& ts, const FloatRect& r) {
}
TextStream& operator<<(TextStream& ts, const LayoutUnit& unit) {
- return ts << unit.toDouble();
+ return ts << TextStream::FormatNumberRespectingIntegers(unit.toDouble());
}
TextStream& operator<<(TextStream& ts, const LayoutPoint& point) {

Powered by Google App Engine
This is Rietveld 408576698