| 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 #ifndef SVGFilterPainter_h | 5 #ifndef SVGFilterPainter_h |
| 6 #define SVGFilterPainter_h | 6 #define SVGFilterPainter_h |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include "platform/graphics/GraphicsContext.h" | 9 #include "platform/graphics/GraphicsContext.h" |
| 9 #include "platform/graphics/paint/PaintController.h" | 10 #include "platform/graphics/paint/PaintController.h" |
| 10 #include "wtf/Allocator.h" | 11 #include "wtf/Allocator.h" |
| 11 #include <memory> | |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class FilterData; | 15 class FilterData; |
| 16 class LayoutObject; | 16 class LayoutObject; |
| 17 class LayoutSVGResourceFilter; | 17 class LayoutSVGResourceFilter; |
| 18 | 18 |
| 19 class SVGFilterRecordingContext { | 19 class SVGFilterRecordingContext { |
| 20 USING_FAST_MALLOC(SVGFilterRecordingContext); | 20 USING_FAST_MALLOC(SVGFilterRecordingContext); |
| 21 WTF_MAKE_NONCOPYABLE(SVGFilterRecordingContext); | 21 WTF_MAKE_NONCOPYABLE(SVGFilterRecordingContext); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 47 SVGFilterRecordingContext&); | 47 SVGFilterRecordingContext&); |
| 48 void finishEffect(const LayoutObject&, SVGFilterRecordingContext&); | 48 void finishEffect(const LayoutObject&, SVGFilterRecordingContext&); |
| 49 | 49 |
| 50 private: | 50 private: |
| 51 LayoutSVGResourceFilter& m_filter; | 51 LayoutSVGResourceFilter& m_filter; |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 } // namespace blink | 54 } // namespace blink |
| 55 | 55 |
| 56 #endif // SVGFilterPainter_h | 56 #endif // SVGFilterPainter_h |
| OLD | NEW |