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

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

Issue 2640143005: Support subpixel layout for borders. (Closed)
Patch Set: Rebaselined tests. Created 3 years, 10 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
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698