Chromium Code Reviews| Index: third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.h |
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.h b/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.h |
| index e9780f341586ba113db96454c0c66d979b4f35ec..0879bc51b3c67ba7466332b6f44dee00ac855cae 100644 |
| --- a/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.h |
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.h |
| @@ -40,6 +40,9 @@ class CORE_EXPORT NGLayoutOpportunityIterator final { |
| // TODO(chrome-layout-team): Refactor with using C++ <iterator> library. |
| const NGLayoutOpportunity Next(); |
| + // Prints Layout Opportunity tree for debug purposes. |
| + void ShowLayoutOpportunityTree() const; |
|
cbiesinger
2017/03/06 19:56:02
Consider putting this in #ifndef NDEBUG like showL
Gleb Lanbin
2017/03/06 21:08:10
Done.
|
| + |
| private: |
| // Mutable Getters. |
| NGLayoutOpportunityTreeNode* MutableOpportunityTreeRoot() { |