Fix premul state in from_srgb in convert_with_pipeline

Without this patch, the pipeline
1. converts to unpremultiplied
2. applies the sRGB transfer assuming the pixel is premultiplied

In step 2, we should assume the pixel is unpremultiplied.

Bug:738517
Change-Id: Ic11fcf64faa423577ccb1cfc0cfe96feb57db09a
Reviewed-on: https://skia-review.googlesource.com/28404
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>

No-Tree-Checks: true
No-Try: true
No-Presubmit: true
Cherry-Pick: 179849efe5f5bb20e7036bb6e5a9f4bb9ad8b2f1
Approval: https://crbug.com/738517#c19
Change-Id: I637716ca2b722b863491e2bd66f6c7ed7e1fac0e
Reviewed-on: https://skia-review.googlesource.com/30041
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Florin Malita <fmalita@chromium.org>
1 file changed