diff options
author | 2014-04-22 18:22:30 +0000 | |
---|---|---|
committer | 2014-04-22 18:22:30 +0000 | |
commit | dcacd5fd5a0baeb83d8c61bb6127c442ef72e29a (patch) | |
tree | 97943d5b70c7c7cf5afec33987de49f60c0ec87d /include | |
parent | dcecb168968ca136c7fb9e8b444bec56f19af70c (diff) |
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@14303 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkPixelRef.h | 3 | ||||
-rw-r--r-- | include/gpu/SkGrPixelRef.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/core/SkPixelRef.h b/include/core/SkPixelRef.h index 8319ec6da5..579ca5b7e8 100644 --- a/include/core/SkPixelRef.h +++ b/include/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/include/gpu/SkGrPixelRef.h b/include/gpu/SkGrPixelRef.h index 1e495611fc..702a3bf871 100644 --- a/include/gpu/SkGrPixelRef.h +++ b/include/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; |