Commit 52560eca authored by fmalita's avatar fmalita Committed by Commit bot

Relocate Image::transfer() to StaticBitmapImage

Not needed at the Image interface level.

R=junov@chromium.org

Review-Url: https://codereview.chromium.org/2590573002
Cr-Commit-Position: refs/heads/master@{#439848}
parent 398d9f24
...@@ -85,7 +85,6 @@ class PLATFORM_EXPORT Image : public ThreadSafeRefCounted<Image> { ...@@ -85,7 +85,6 @@ class PLATFORM_EXPORT Image : public ThreadSafeRefCounted<Image> {
virtual bool currentFrameIsComplete() { return false; } virtual bool currentFrameIsComplete() { return false; }
virtual bool currentFrameIsLazyDecoded() { return false; } virtual bool currentFrameIsLazyDecoded() { return false; }
virtual bool isTextureBacked(); virtual bool isTextureBacked();
virtual void transfer() {}
// Derived classes should override this if they can assure that the current // Derived classes should override this if they can assure that the current
// image frame contains only resources from its own security origin. // image frame contains only resources from its own security origin.
......
...@@ -40,6 +40,8 @@ class PLATFORM_EXPORT StaticBitmapImage : public Image { ...@@ -40,6 +40,8 @@ class PLATFORM_EXPORT StaticBitmapImage : public Image {
// sub-class // sub-class
virtual bool hasMailbox() { return false; } virtual bool hasMailbox() { return false; }
virtual void transfer() {}
// Methods overrided by AcceleratedStaticBitmapImage only // Methods overrided by AcceleratedStaticBitmapImage only
virtual void copyToTexture(WebGraphicsContext3DProvider*, virtual void copyToTexture(WebGraphicsContext3DProvider*,
GLuint, GLuint,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment