aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkMallocPixelRef.h
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2014-07-01 12:48:11 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-07-01 12:48:11 -0700
commitf0aed97aec3fa1c7f6460d8d6327358f3dcbabe6 (patch)
treebed25aabeca446338941bdf4fa9d2725ae9c4f52 /include/core/SkMallocPixelRef.h
parentc846f4a96bcde1ffeaf17afc1469db6f2cbd1ad3 (diff)
correctly plumb through explicit rowbytes for allocPixels
BUG=skia: R=caryclark@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/357073003
Diffstat (limited to 'include/core/SkMallocPixelRef.h')
-rw-r--r--include/core/SkMallocPixelRef.h1
1 files changed, 1 insertions, 0 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;
};