Chromium Code Reviews| Index: third_party/WebKit/Source/core/layout/ng/ng_floating_object.h |
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_floating_object.h b/third_party/WebKit/Source/core/layout/ng/ng_floating_object.h |
| index 8430c5ac6fcde0dd2dc02a94f756569aa5bf1882..d876eed11b198b255f684b09c04f7930fa05a244 100644 |
| --- a/third_party/WebKit/Source/core/layout/ng/ng_floating_object.h |
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_floating_object.h |
| @@ -50,6 +50,11 @@ struct CORE_EXPORT NGFloatingObject : public RefCounted<NGFloatingObject> { |
| // would be attached. |
| LayoutUnit left_offset; |
| + String ToString() const { |
|
ikilpatrick
2017/03/17 21:25:24
I know we haven't done this previously but we shou
|
| + return String::format("Type: '%d' Fragment: '%s'", exclusion_type, |
| + fragment->ToString().ascii().data()); |
| + } |
| + |
| private: |
| NGFloatingObject(const NGConstraintSpace* space, |
| const NGConstraintSpace* parent_space, |