OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/PaintLayerPainter.h" | 5 #include "core/paint/PaintLayerPainter.h" |
6 | 6 |
7 #include "core/frame/FrameView.h" | 7 #include "core/frame/FrameView.h" |
8 #include "core/frame/Settings.h" | 8 #include "core/frame/Settings.h" |
9 #include "core/layout/ClipPathOperation.h" | 9 #include "core/layout/ClipPathOperation.h" |
10 #include "core/layout/LayoutBlock.h" | 10 #include "core/layout/LayoutBlock.h" |
11 #include "core/layout/LayoutFrame.h" | |
12 #include "core/layout/LayoutView.h" | 11 #include "core/layout/LayoutView.h" |
13 #include "core/layout/svg/LayoutSVGResourceClipper.h" | 12 #include "core/layout/svg/LayoutSVGResourceClipper.h" |
14 #include "core/page/Page.h" | 13 #include "core/page/Page.h" |
15 #include "core/paint/FilterPainter.h" | 14 #include "core/paint/FilterPainter.h" |
16 #include "core/paint/LayerClipRecorder.h" | 15 #include "core/paint/LayerClipRecorder.h" |
17 #include "core/paint/ObjectPaintProperties.h" | 16 #include "core/paint/ObjectPaintProperties.h" |
18 #include "core/paint/PaintInfo.h" | 17 #include "core/paint/PaintInfo.h" |
19 #include "core/paint/PaintLayer.h" | 18 #include "core/paint/PaintLayer.h" |
20 #include "core/paint/SVGClipPainter.h" | 19 #include "core/paint/SVGClipPainter.h" |
21 #include "core/paint/ScopeRecorder.h" | 20 #include "core/paint/ScopeRecorder.h" |
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
810 if (!m_paintLayer.containsDirtyOverlayScrollbars()) | 809 if (!m_paintLayer.containsDirtyOverlayScrollbars()) |
811 return; | 810 return; |
812 | 811 |
813 PaintLayerPaintingInfo paintingInfo(&m_paintLayer, LayoutRect(enclosingIntRe
ct(damageRect)), paintFlags, LayoutSize()); | 812 PaintLayerPaintingInfo paintingInfo(&m_paintLayer, LayoutRect(enclosingIntRe
ct(damageRect)), paintFlags, LayoutSize()); |
814 paintLayer(context, paintingInfo, PaintLayerPaintingOverlayScrollbars); | 813 paintLayer(context, paintingInfo, PaintLayerPaintingOverlayScrollbars); |
815 | 814 |
816 m_paintLayer.setContainsDirtyOverlayScrollbars(false); | 815 m_paintLayer.setContainsDirtyOverlayScrollbars(false); |
817 } | 816 } |
818 | 817 |
819 } // namespace blink | 818 } // namespace blink |
OLD | NEW |