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

Unified Diff: src/pdf/SkPDFDevice.h

Issue 920513003: Make filters use SkImage instead of SkBitmap Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 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: src/pdf/SkPDFDevice.h
diff --git a/src/pdf/SkPDFDevice.h b/src/pdf/SkPDFDevice.h
index 679c24b8bfe1a8e0cbde9607bbce1de754ddf54b..e305061723182c57cac2311365b4e822cc2de5e8 100644
--- a/src/pdf/SkPDFDevice.h
+++ b/src/pdf/SkPDFDevice.h
@@ -103,6 +103,8 @@ public:
const SkMatrix& matrix, const SkPaint&) SK_OVERRIDE;
void drawSprite(const SkDraw&, const SkBitmap& bitmap, int x, int y,
const SkPaint& paint) SK_OVERRIDE;
+ void drawSprite(const SkDraw&, const SkImage& image, int x, int y,
+ const SkPaint& paint) SK_OVERRIDE;
void drawText(const SkDraw&, const void* text, size_t len,
SkScalar x, SkScalar y, const SkPaint&) SK_OVERRIDE;
void drawPosText(const SkDraw&, const void* text, size_t len,

Powered by Google App Engine
This is Rietveld 408576698