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 #ifndef FilterPainter_h | 5 #ifndef FilterPainter_h |
6 #define FilterPainter_h | 6 #define FilterPainter_h |
7 | 7 |
8 #include "core/paint/PaintLayerPaintingInfo.h" | 8 #include "core/paint/PaintLayerPaintingInfo.h" |
9 #include "wtf/Allocator.h" | 9 #include "wtf/Allocator.h" |
10 #include <memory> | 10 #include <memory> |
(...skipping 15 matching lines...) Expand all Loading... |
26 const LayoutPoint& offsetFromRoot, | 26 const LayoutPoint& offsetFromRoot, |
27 const ClipRect&, | 27 const ClipRect&, |
28 PaintLayerPaintingInfo&, | 28 PaintLayerPaintingInfo&, |
29 PaintLayerFlags paintFlags); | 29 PaintLayerFlags paintFlags); |
30 ~FilterPainter(); | 30 ~FilterPainter(); |
31 | 31 |
32 private: | 32 private: |
33 bool m_filterInProgress; | 33 bool m_filterInProgress; |
34 GraphicsContext& m_context; | 34 GraphicsContext& m_context; |
35 std::unique_ptr<LayerClipRecorder> m_clipRecorder; | 35 std::unique_ptr<LayerClipRecorder> m_clipRecorder; |
36 LayoutObject* m_layoutObject; | 36 LayoutObject& m_layoutObject; |
37 }; | 37 }; |
38 | 38 |
39 } // namespace blink | 39 } // namespace blink |
40 | 40 |
41 #endif // FilterPainter_h | 41 #endif // FilterPainter_h |
OLD | NEW |