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/ObjectPaintInvalidator.h" | 5 #include "core/paint/ObjectPaintInvalidator.h" |
6 | 6 |
7 #include "core/frame/FrameView.h" | 7 #include "core/frame/FrameView.h" |
8 #include "core/frame/LocalFrame.h" | 8 #include "core/frame/LocalFrame.h" |
9 #include "core/layout/LayoutBlockFlow.h" | |
10 #include "core/layout/LayoutView.h" | 9 #include "core/layout/LayoutView.h" |
11 #include "core/layout/api/LayoutPartItem.h" | 10 #include "core/layout/api/LayoutPartItem.h" |
12 #include "core/layout/compositing/CompositedLayerMapping.h" | 11 #include "core/layout/compositing/CompositedLayerMapping.h" |
13 #include "core/paint/PaintInvalidator.h" | 12 #include "core/paint/PaintInvalidator.h" |
14 #include "core/paint/PaintLayer.h" | 13 #include "core/paint/PaintLayer.h" |
15 #include "platform/HostWindow.h" | 14 #include "platform/HostWindow.h" |
16 #include "platform/graphics/GraphicsLayer.h" | 15 #include "platform/graphics/GraphicsLayer.h" |
17 | 16 |
18 namespace blink { | 17 namespace blink { |
19 | 18 |
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
518 | 517 |
519 m_context.paintingLayer->setNeedsRepaint(); | 518 m_context.paintingLayer->setNeedsRepaint(); |
520 m_object.invalidateDisplayItemClients(reason); | 519 m_object.invalidateDisplayItemClients(reason); |
521 return reason; | 520 return reason; |
522 } | 521 } |
523 | 522 |
524 DisablePaintInvalidationStateAsserts::DisablePaintInvalidationStateAsserts() | 523 DisablePaintInvalidationStateAsserts::DisablePaintInvalidationStateAsserts() |
525 : m_disabler(&gDisablePaintInvalidationStateAsserts, true) {} | 524 : m_disabler(&gDisablePaintInvalidationStateAsserts, true) {} |
526 | 525 |
527 } // namespace blink | 526 } // namespace blink |
OLD | NEW |