diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-22 18:22:30 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-22 18:22:30 +0000 |
commit | 3b0b26df79c4b29fbe9b3fe78fc392b645acd864 (patch) | |
tree | b02618afe3be7f4aae5edc3d4d82689c9da72305 | |
parent | c27723092093b4909c3035e253a15fdebb212a98 (diff) | |
download | include-3b0b26df79c4b29fbe9b3fe78fc392b645acd864.tar.gz |
eliminate config param -- it was always self's config
BUG=skia:
R=bsalomon@google.com
Review URL: https://codereview.chromium.org/246513002
git-svn-id: http://skia.googlecode.com/svn/trunk/include@14303 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | core/SkPixelRef.h | 3 | ||||
-rw-r--r-- | gpu/SkGrPixelRef.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/core/SkPixelRef.h b/core/SkPixelRef.h index 8319ec6..579ca5b 100644 --- a/core/SkPixelRef.h +++ b/core/SkPixelRef.h @@ -223,14 +223,13 @@ public: /** * Makes a deep copy of this PixelRef, respecting the requested config. - * @param config Desired config. * @param subset Subset of this PixelRef to copy. Must be fully contained within the bounds of * of this PixelRef. * @return A new SkPixelRef, or NULL if either there is an error (e.g. the destination could * not be created with the given config), or this PixelRef does not support deep * copies. */ - virtual SkPixelRef* deepCopy(SkBitmap::Config config, const SkIRect* subset = NULL) { + virtual SkPixelRef* deepCopy(const SkIRect* subset = NULL) { return NULL; } diff --git a/gpu/SkGrPixelRef.h b/gpu/SkGrPixelRef.h index 1e49561..702a3bf 100644 --- a/gpu/SkGrPixelRef.h +++ b/gpu/SkGrPixelRef.h @@ -56,7 +56,7 @@ public: protected: // overrides from SkPixelRef virtual bool onReadPixels(SkBitmap* dst, const SkIRect* subset) SK_OVERRIDE; - virtual SkPixelRef* deepCopy(SkBitmap::Config dstConfig, const SkIRect* subset) SK_OVERRIDE; + virtual SkPixelRef* deepCopy(const SkIRect* subset) SK_OVERRIDE; private: GrSurface* fSurface; |