diff options
Diffstat (limited to 'include/core')
-rw-r--r-- | include/core/SkMallocPixelRef.h | 1 | ||||
-rw-r--r-- | include/core/SkPixelRef.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/core/SkMallocPixelRef.h b/include/core/SkMallocPixelRef.h index ce353080c9..2db81bb31b 100644 --- a/include/core/SkMallocPixelRef.h +++ b/include/core/SkMallocPixelRef.h @@ -78,6 +78,7 @@ public: class PRFactory : public SkPixelRefFactory { public: virtual SkPixelRef* create(const SkImageInfo&, + size_t rowBytes, SkColorTable*) SK_OVERRIDE; }; diff --git a/include/core/SkPixelRef.h b/include/core/SkPixelRef.h index 339cea192a..842f493d47 100644 --- a/include/core/SkPixelRef.h +++ b/include/core/SkPixelRef.h @@ -374,7 +374,7 @@ public: * the pixelref will ref() the colortable. * On failure return NULL. */ - virtual SkPixelRef* create(const SkImageInfo&, SkColorTable*) = 0; + virtual SkPixelRef* create(const SkImageInfo&, size_t rowBytes, SkColorTable*) = 0; }; #endif |