commit | 5459bae19f885a96c8ff1e5dd0d071a9dbf8d6ab | [log] [tgz] |
---|---|---|
author | Brian Osman <[email protected]> | Tue Jul 17 12:32:26 2018 |
committer | Commit Bot <[email protected]> | Tue Jul 17 12:32:26 2018 |
tree | 8fb4843b5ed4defd73f412c3fe4aa4990f402769 | |
parent | f623bafe9c5b8cbd1d63c4d7c9b69de172552df5 [diff] [blame] |
Remove all usage of SkTransferFunctionBehavior This enum is going away, and is always assumed to be kIgnore within Skia. Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I1d330478aab486864395ef36762f12f3df76c4d2 Reviewed-on: https://chromium-review.googlesource.com/1135551 Reviewed-by: Florin Malita <[email protected]> Reviewed-by: Jeremy Roman <[email protected]> Reviewed-by: Eric Karl <[email protected]> Reviewed-by: ccameron <[email protected]> Reviewed-by: Oliver Chang <[email protected]> Reviewed-by: Mike Klein <[email protected]> Commit-Queue: Brian Osman <[email protected]> Cr-Commit-Position: refs/heads/master@{#575614}
diff --git a/cc/paint/paint_image.cc b/cc/paint/paint_image.cc index f82fcdf..34bb675 100644 --- a/cc/paint/paint_image.cc +++ b/cc/paint/paint_image.cc
@@ -228,8 +228,7 @@ auto image = GetSkImageForFrame(frame_index); DCHECK(image); if (color_space) { - image = - image->makeColorSpace(color_space, SkTransferFunctionBehavior::kIgnore); + image = image->makeColorSpace(color_space); if (!image) return false; }