OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "core/paint/PaintPropertyTreePrinter.h" | 5 #include "core/paint/PaintPropertyTreePrinter.h" |
6 | 6 |
7 #include "core/frame/FrameView.h" | 7 #include "core/frame/FrameView.h" |
| 8 #include "core/frame/LocalFrame.h" |
8 #include "core/layout/LayoutView.h" | 9 #include "core/layout/LayoutView.h" |
9 #include "core/paint/ObjectPaintProperties.h" | 10 #include "core/paint/ObjectPaintProperties.h" |
10 | 11 |
11 #ifndef NDEBUG | 12 #ifndef NDEBUG |
12 | 13 |
13 namespace blink { | 14 namespace blink { |
14 namespace { | 15 namespace { |
15 | 16 |
16 template <typename PaintPropertyTreeNode> | 17 template <typename PaintPropertyTreeNode> |
17 class PropertyTreePrinterTraits; | 18 class PropertyTreePrinterTraits; |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 | 193 |
193 void showEffectPropertyTree(const FrameView& rootFrame) | 194 void showEffectPropertyTree(const FrameView& rootFrame) |
194 { | 195 { |
195 ASSERT(RuntimeEnabledFeatures::slimmingPaintV2Enabled()); | 196 ASSERT(RuntimeEnabledFeatures::slimmingPaintV2Enabled()); |
196 PropertyTreePrinter<EffectPaintPropertyNode>(rootFrame).show(); | 197 PropertyTreePrinter<EffectPaintPropertyNode>(rootFrame).show(); |
197 } | 198 } |
198 | 199 |
199 } // namespace blink | 200 } // namespace blink |
200 | 201 |
201 #endif | 202 #endif |
OLD | NEW |