Index: Source/core/svg/graphics/SVGImageForContainer.cpp |
diff --git a/Source/core/svg/graphics/SVGImageForContainer.cpp b/Source/core/svg/graphics/SVGImageForContainer.cpp |
index 0e7e57fb3177e7f550ce3693bb84ccd4342db88c..cb4788af7186bbc02dae947a6aabfbed595e7132 100644 |
--- a/Source/core/svg/graphics/SVGImageForContainer.cpp |
+++ b/Source/core/svg/graphics/SVGImageForContainer.cpp |
@@ -22,6 +22,7 @@ |
#include "platform/geometry/FloatRect.h" |
#include "platform/geometry/FloatSize.h" |
+#include "third_party/skia/include/core/SkBitmap.h" |
#include "wtf/PassRefPtr.h" |
namespace blink { |
@@ -45,9 +46,9 @@ void SVGImageForContainer::drawPattern(GraphicsContext* context, const FloatRect |
m_image->drawPatternForContainer(context, m_containerSize, m_zoom, srcRect, scale, phase, op, dstRect, repeatSpacing); |
} |
-PassRefPtr<NativeImageSkia> SVGImageForContainer::nativeImageForCurrentFrame() |
+bool SVGImageForContainer::bitmapForCurrentFrame(SkBitmap* bitmap) |
{ |
- return m_image->nativeImageForCurrentFrame(); |
+ return m_image->bitmapForCurrentFrame(bitmap); |
} |
} // namespace blink |