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) { |