Index: third_party/WebKit/Source/platform/graphics/Image.h |
diff --git a/third_party/WebKit/Source/platform/graphics/Image.h b/third_party/WebKit/Source/platform/graphics/Image.h |
index e238844dd926b948be7cfb0f1b95c46a56a75cb8..28cbb409743cd25075a2c5621a7a019423224978 100644 |
--- a/third_party/WebKit/Source/platform/graphics/Image.h |
+++ b/third_party/WebKit/Source/platform/graphics/Image.h |
@@ -156,14 +156,6 @@ class PLATFORM_EXPORT Image : public ThreadSafeRefCounted<Image> { |
virtual sk_sp<SkImage> imageForCurrentFrame(const ColorBehavior&) = 0; |
virtual PassRefPtr<Image> imageForDefaultFrame(); |
- virtual void drawPattern(GraphicsContext&, |
- const FloatRect&, |
- const FloatSize&, |
- const FloatPoint& phase, |
- SkBlendMode, |
- const FloatRect&, |
- const FloatSize& repeatSpacing = FloatSize()); |
- |
enum ImageClampingMode { |
ClampImageToSourceRect, |
DoNotClampImageToSourceRect |
@@ -213,6 +205,14 @@ class PLATFORM_EXPORT Image : public ThreadSafeRefCounted<Image> { |
TileRule vRule, |
SkBlendMode); |
+ virtual void drawPattern(GraphicsContext&, |
+ const FloatRect&, |
+ const FloatSize&, |
+ const FloatPoint& phase, |
+ SkBlendMode, |
+ const FloatRect&, |
+ const FloatSize& repeatSpacing = FloatSize()); |
+ |
private: |
RefPtr<SharedBuffer> m_encodedImageData; |
// TODO(Oilpan): consider having Image on the Oilpan heap and |