aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/codec
diff options
context:
space:
mode:
authorGravatar Matt Sarett <msarett@google.com>2016-10-30 21:25:34 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-10-31 19:19:33 +0000
commit7f650bdfd84aa54bf4fb94a2aef89ad931578e8b (patch)
treebcb03eec2fee20a3c46c7b1bf179aebe3421f364 /include/codec
parent4d598a35cd7a9b2bbfd724e7503840e2ad8ee778 (diff)
Tag images as sRGB by default in SkCodec
Unmarked images should be treated as sRGB. BUG=skia:4895 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4151 Change-Id: I5f8c308d22fd2d069cbfa89c5a5bb19ae6fde8bd Reviewed-on: https://skia-review.googlesource.com/4151 Reviewed-by: Leon Scroggins <scroggo@google.com> Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Matt Sarett <msarett@google.com>
Diffstat (limited to 'include/codec')
-rw-r--r--include/codec/SkCodec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h
index 368d5e37b3..c2519cb840 100644
--- a/include/codec/SkCodec.h
+++ b/include/codec/SkCodec.h
@@ -626,7 +626,7 @@ protected:
int height,
const SkEncodedInfo&,
SkStream*,
- sk_sp<SkColorSpace> = nullptr,
+ sk_sp<SkColorSpace>,
Origin = kTopLeft_Origin);
/**