Index: Source/core/svg/graphics/SVGImageChromeClient.h |
diff --git a/Source/core/svg/graphics/SVGImageChromeClient.h b/Source/core/svg/graphics/SVGImageChromeClient.h |
index 0592bae67ca8a0e39cca08cdabb7a8fe51dbfa54..6259d21f373088b1a533570bcb0808cb4e309fbb 100644 |
--- a/Source/core/svg/graphics/SVGImageChromeClient.h |
+++ b/Source/core/svg/graphics/SVGImageChromeClient.h |
@@ -37,14 +37,16 @@ namespace blink { |
class SVGImage; |
class SVGImageChromeClient final : public EmptyChromeClient { |
- WTF_MAKE_NONCOPYABLE(SVGImageChromeClient); WTF_MAKE_FAST_ALLOCATED(SVGImageChromeClient); |
public: |
- explicit SVGImageChromeClient(SVGImage*); |
+ static PassOwnPtrWillBeRawPtr<SVGImageChromeClient> create(SVGImage*); |
+ |
bool isSVGImageChromeClient() const override; |
SVGImage* image() const { return m_image; } |
private: |
+ explicit SVGImageChromeClient(SVGImage*); |
+ |
void chromeDestroyed() override; |
void invalidateRect(const IntRect&) override; |
void scheduleAnimation() override; |