Index: Source/platform/graphics/filters/SourceGraphic.h |
diff --git a/Source/platform/graphics/filters/SourceGraphic.h b/Source/platform/graphics/filters/SourceGraphic.h |
index 4eb56d74a2b559cbe7d54599cc2763bb40e423b7..939cfb0aacfa71b761d375507cfb1e54f737c832 100644 |
--- a/Source/platform/graphics/filters/SourceGraphic.h |
+++ b/Source/platform/graphics/filters/SourceGraphic.h |
@@ -22,6 +22,7 @@ |
#ifndef SourceGraphic_h |
#define SourceGraphic_h |
+#include "platform/geometry/IntRect.h" |
#include "platform/graphics/filters/FilterEffect.h" |
class SkPicture; |
@@ -43,11 +44,13 @@ public: |
PassRefPtr<SkImageFilter> createImageFilter(SkiaImageFilterBuilder*) override; |
void setPicture(PassRefPtr<const SkPicture>); |
+ void setSourceRect(const IntRect&); |
private: |
- SourceGraphic(Filter*); |
+ explicit SourceGraphic(Filter*); |
RefPtr<const SkPicture> m_picture; |
+ IntRect m_sourceRect; |
}; |
} //namespace blink |