Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1595)

Unified Diff: Source/core/svg/graphics/SVGImageForContainer.h

Issue 1001703003: Take NativeImageSkia out behind the woodshed. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Make bitmapForCurrentFrame() return SkBitmap by value. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/svg/graphics/SVGImageForContainer.h
diff --git a/Source/core/svg/graphics/SVGImageForContainer.h b/Source/core/svg/graphics/SVGImageForContainer.h
index 9bbe08a4f81dbbd1d0c12143b957f3e4dc642416..94cbf4297bbede52ae8b3aff6b0b0d58e07f3f8f 100644
--- a/Source/core/svg/graphics/SVGImageForContainer.h
+++ b/Source/core/svg/graphics/SVGImageForContainer.h
@@ -61,7 +61,7 @@ public:
// FIXME: Implement this to be less conservative.
virtual bool currentFrameKnownToBeOpaque() override { return false; }
- virtual PassRefPtr<NativeImageSkia> nativeImageForCurrentFrame() override;
+ virtual SkBitmap bitmapForCurrentFrame() override;
private:
SVGImageForContainer(SVGImage* image, const FloatSize& containerSize, float zoom)

Powered by Google App Engine
This is Rietveld 408576698