PDF : Unused parameters cleanup
I removed unused parameters in the PDFs wherever it was trivial to do so. A few constructors had to change signature in the process to reflect the changes.
Review URL: https://codereview.appspot.com/7390056
git-svn-id: http://skia.googlecode.com/svn/trunk@7987 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/pdf/SkPDFImage.h b/src/pdf/SkPDFImage.h
index 48b0157..a4203f6 100644
--- a/src/pdf/SkPDFImage.h
+++ b/src/pdf/SkPDFImage.h
@@ -15,7 +15,6 @@
#include "SkRefCnt.h"
class SkBitmap;
-class SkPaint;
class SkPDFCatalog;
struct SkIRect;
@@ -37,8 +36,7 @@
* the given parameters.
*/
static SkPDFImage* CreateImage(const SkBitmap& bitmap,
- const SkIRect& srcRect,
- const SkPaint& paint);
+ const SkIRect& srcRect);
virtual ~SkPDFImage();
@@ -64,7 +62,7 @@
* @param paint Used to calculate alpha, masks, etc.
*/
SkPDFImage(SkStream* imageData, const SkBitmap& bitmap,
- const SkIRect& srcRect, bool alpha, const SkPaint& paint);
+ const SkIRect& srcRect, bool alpha);
};
#endif