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

Unified Diff: include/core/SkPicture.h

Issue 935843007: Remove unused parameters to SkDocument::CreatePDF (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove SkPicture::EncodeBitmap 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
« no previous file with comments | « include/core/SkDocument.h ('k') | src/doc/SkDocument_PDF.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPicture.h
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
index 5b2f7a99f754c78e68aed7b52dfd000a708ec4a8..346d65bd467106e8c12adc9302779702e74569bd 100644
--- a/include/core/SkPicture.h
+++ b/include/core/SkPicture.h
@@ -139,20 +139,6 @@ public:
uint32_t uniqueID() const { return fUniqueID; }
/**
- * Function to encode an SkBitmap to an SkData. A function with this
- * signature can be passed to serialize() and SkWriteBuffer.
- * Returning NULL will tell the SkWriteBuffer to use
- * SkBitmap::flatten() to store the bitmap.
- *
- * @param pixelRefOffset DEPRECATED -- caller assumes it will return 0.
- * @return SkData If non-NULL, holds encoded data representing the passed
- * in bitmap. The caller is responsible for calling unref().
- *
- * TODO: No longer used by SkPicture. Still used by PDF though. Move into PDF.
- */
- typedef SkData* (*EncodeBitmap)(size_t* pixelRefOffset, const SkBitmap& bm);
-
- /**
* Serialize to a stream. If non NULL, serializer will be used to serialize
* any bitmaps in the picture.
*
« no previous file with comments | « include/core/SkDocument.h ('k') | src/doc/SkDocument_PDF.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698