Index: src/utils/SkPictureUtils.cpp |
diff --git a/src/utils/SkPictureUtils.cpp b/src/utils/SkPictureUtils.cpp |
index 46a06607748c6d321aa1eeb81ad7af3c09ebdbfa..702a78dda203baea42e9622605c75d942f2b12d3 100644 |
--- a/src/utils/SkPictureUtils.cpp |
+++ b/src/utils/SkPictureUtils.cpp |
@@ -58,9 +58,9 @@ public: |
fPRSet = prset; |
} |
- virtual int width() const SK_OVERRIDE { return fSize.width(); } |
- virtual int height() const SK_OVERRIDE { return fSize.height(); } |
- virtual bool isOpaque() const SK_OVERRIDE { return false; } |
+ virtual SkImageInfo imageInfo() const SK_OVERRIDE { |
+ return SkImageInfo::MakeUnknown(fSize.width(), fSize.height()); |
+ } |
virtual GrRenderTarget* accessRenderTarget() SK_OVERRIDE { return NULL; } |
virtual bool filterTextFlags(const SkPaint& paint, TextFlags*) SK_OVERRIDE { |
return false; |