Index: third_party/WebKit/Source/core/layout/ng/ng_units.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_units.h b/third_party/WebKit/Source/core/layout/ng/ng_units.h |
index 0d1e37cc47bd95ef9a776adae99b6cf23583e789..411b4d4896255c5bfb0711bf62117a1163513578 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_units.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_units.h |
@@ -68,6 +68,10 @@ struct NGPhysicalSize { |
LayoutUnit height; |
NGLogicalSize ConvertToLogical(NGWritingMode mode) const; |
+ |
+ String ToString() const { |
+ return String::format("%dx%d", width.toInt(), height.toInt()); |
+ } |
}; |
// NGPhysicalLocation is the position of a rect (typically a fragment) relative |