Index: third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.cc b/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.cc |
index 5bf322177052f7cfee0579fa7e6d74baba3596ec..230e04d1794f874e9355ec7aebb006729d3a2a04 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.cc |
@@ -34,4 +34,10 @@ const ComputedStyle& NGPhysicalFragment::Style() const { |
return layout_object_->styleRef(); |
} |
+String NGPhysicalFragment::ToString() const { |
+ return String::format("Type: '%d' Size: '%s' Offset: '%s' Placed: '%d'", |
+ Type(), Size().ToString().ascii().data(), |
+ Offset().ToString().ascii().data(), IsPlaced()); |
+} |
+ |
} // namespace blink |