diff options
author | 2013-03-05 18:35:55 +0000 | |
---|---|---|
committer | 2013-03-05 18:35:55 +0000 | |
commit | e2e8113baa69b5d1a0bae9652a095c1eb44b3a53 (patch) | |
tree | 3222ff6642b554fa851756840d1465bdee5d3ac9 /src/pdf/SkPDFImage.h | |
parent | a718c5e0e56fb2d399273d068fcfedbef43ea90d (diff) |
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
Diffstat (limited to 'src/pdf/SkPDFImage.h')
-rw-r--r-- | src/pdf/SkPDFImage.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/pdf/SkPDFImage.h b/src/pdf/SkPDFImage.h index 48b0157da9..a4203f62ae 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 @@ public: * the given parameters. */ static SkPDFImage* CreateImage(const SkBitmap& bitmap, - const SkIRect& srcRect, - const SkPaint& paint); + const SkIRect& srcRect); virtual ~SkPDFImage(); @@ -64,7 +62,7 @@ private: * @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 |