| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/PrePaintTreeWalk.h" | 5 #include "core/paint/PrePaintTreeWalk.h" |
| 6 | 6 |
| 7 #include "core/dom/DocumentLifecycle.h" | 7 #include "core/dom/DocumentLifecycle.h" |
| 8 #include "core/frame/FrameView.h" | 8 #include "core/frame/FrameView.h" |
| 9 #include "core/frame/LocalFrame.h" | 9 #include "core/frame/LocalFrame.h" |
| 10 #include "core/layout/LayoutMultiColumnSpannerPlaceholder.h" | 10 #include "core/layout/LayoutMultiColumnSpannerPlaceholder.h" |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 | 63 |
| 64 if (object.isLayoutMultiColumnSpannerPlaceholder()) | 64 if (object.isLayoutMultiColumnSpannerPlaceholder()) |
| 65 walk(*toLayoutMultiColumnSpannerPlaceholder(object).layoutObjectInFlowTh
read(), localContext); | 65 walk(*toLayoutMultiColumnSpannerPlaceholder(object).layoutObjectInFlowTh
read(), localContext); |
| 66 | 66 |
| 67 if (object.isLayoutPart()) { | 67 if (object.isLayoutPart()) { |
| 68 Widget* widget = toLayoutPart(object).widget(); | 68 Widget* widget = toLayoutPart(object).widget(); |
| 69 if (widget && widget->isFrameView()) | 69 if (widget && widget->isFrameView()) |
| 70 walk(*toFrameView(widget), localContext); | 70 walk(*toFrameView(widget), localContext); |
| 71 // TODO(pdr): Investigate RemoteFrameView (crbug.com/579281). | 71 // TODO(pdr): Investigate RemoteFrameView (crbug.com/579281). |
| 72 } | 72 } |
| 73 |
| 74 if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled() && localConte
xt.paintInvalidatorContext) |
| 75 m_paintInvalidator.didWalkSubtrees(*localContext.paintInvalidatorContext
); |
| 73 } | 76 } |
| 74 | 77 |
| 75 } // namespace blink | 78 } // namespace blink |
| OLD | NEW |