Index: third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_rect.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_rect.cc b/third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_rect.cc |
index aeaf7c304a588ec3bc98275732f7a756d8d29119..90a5672f26aaffce6f1af848b8f92185dba9b3a6 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_rect.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_rect.cc |
@@ -25,13 +25,11 @@ |
} |
String NGLogicalRect::ToString() const { |
- return IsEmpty() |
- ? "(empty)" |
- : String::format("%sx%s at (%s,%s)", |
- size.inline_size.toString().ascii().data(), |
- size.block_size.toString().ascii().data(), |
- offset.inline_offset.toString().ascii().data(), |
- offset.block_offset.toString().ascii().data()); |
+ return String::format("%s,%s %sx%s", |
+ offset.inline_offset.toString().ascii().data(), |
+ offset.block_offset.toString().ascii().data(), |
+ size.inline_size.toString().ascii().data(), |
+ size.block_size.toString().ascii().data()); |
} |
std::ostream& operator<<(std::ostream& os, const NGLogicalRect& value) { |