Index: third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp |
index 92ee5e3ddf82bfbc50b6edf41a4e3527d2ccb7b8..86e13aa5dd4ec143f2c8194436416e7f62a01a96 100644 |
--- a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp |
@@ -14,7 +14,7 @@ |
namespace blink { |
-PassRefPtr<Image> StaticBitmapImage::create(PassRefPtr<SkImage> image) |
+PassRefPtr<StaticBitmapImage> StaticBitmapImage::create(PassRefPtr<SkImage> image) |
{ |
if (!image) |
return nullptr; |
@@ -60,4 +60,9 @@ void StaticBitmapImage::draw(SkCanvas* canvas, const SkPaint& paint, const Float |
observer->didDraw(this); |
} |
+PassRefPtr<SkImage> StaticBitmapImage::imageForCurrentFrame() |
+{ |
+ return m_image; |
+} |
+ |
} // namespace blink |