aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkImage.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkImage.h')
-rw-r--r--include/core/SkImage.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/core/SkImage.h b/include/core/SkImage.h
index 8957d11b61..f04dd45c78 100644
--- a/include/core/SkImage.h
+++ b/include/core/SkImage.h
@@ -877,8 +877,9 @@ public:
SkTransferFunctionBehavior::kIgnore
@return created SkImage in target SkColorSpace
*/
- sk_sp<SkImage> makeColorSpace(sk_sp<SkColorSpace> target,
- SkTransferFunctionBehavior premulBehavior) const;
+ sk_sp<SkImage> makeColorSpace(
+ sk_sp<SkColorSpace> target,
+ SkTransferFunctionBehavior premulBehavior = SkTransferFunctionBehavior::kIgnore) const;
private:
SkImage(int width, int height, uint32_t uniqueID);