Index: third_party/WebKit/Source/platform/geometry/LayoutPoint.cpp |
diff --git a/third_party/WebKit/Source/platform/geometry/LayoutPoint.cpp b/third_party/WebKit/Source/platform/geometry/LayoutPoint.cpp |
index ce5b6f1c123e3633b8a87ec1ff6aaac732370fcb..e5d394aafca6de8404158dd9ad101eb464219016 100644 |
--- a/third_party/WebKit/Source/platform/geometry/LayoutPoint.cpp |
+++ b/third_party/WebKit/Source/platform/geometry/LayoutPoint.cpp |
@@ -8,11 +8,11 @@ |
namespace blink { |
-#ifndef NDEBUG |
String LayoutPoint::toString() const |
{ |
- return String::format("%f,%f", x().toDouble(), y().toDouble()); |
+ return String::format("%s,%s", |
+ x().toString().ascii().data(), |
+ y().toString().ascii().data()); |
} |
-#endif |
} // namespace blink |