Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.h |
| diff --git a/third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.h b/third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.h |
| index f364a24dfab44702c222ad9b5de0b246d264120a..2928a45355080dd759e8211d4dd1a1709f28b7e6 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.h |
| +++ b/third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.h |
| @@ -7,6 +7,7 @@ |
| #include "cc/output/filter_operations.h" |
| #include "platform/PlatformExport.h" |
| +#include "platform/geometry/FloatRect.h" |
| #include "platform/geometry/IntPoint.h" |
| #include "platform/graphics/Color.h" |
| #include "third_party/skia/include/core/SkScalar.h" |
| @@ -41,6 +42,9 @@ class PLATFORM_EXPORT CompositorFilterOperations { |
| void clear(); |
| bool isEmpty() const; |
| + FloatRect mapRect(const FloatRect&) const; |
|
chrishtr
2017/02/01 02:59:12
Document what this maps from and to.
Xianzhu
2017/02/03 01:38:16
Done.
|
| + bool hasFilterThatMovesPixels() const; |
| + |
| // For reference filters, this equality operator compares pointers of the |
| // image_filter fields instead of their values. |
| bool operator==(const CompositorFilterOperations&) const; |