Fix SkFrameworkUtils::AsLinearGradient to update color count.
Fix SkFrameworkUtils::AsLinearGradient to update color count.

Bug: skia:8941
Change-Id: Ifea286f225a14f78638abb7f36d52379675b0183
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/588878
Reviewed-by: Leon Scroggins <995cad867ca30d6399abe011583a53547c8afea1@google.com>
Commit-Queue: Brian Salomon <61fabaaf0876044aeedfd8e351e485c028d69e7b@google.com>
Auto-Submit: Brian Salomon <61fabaaf0876044aeedfd8e351e485c028d69e7b@google.com>
Commit-Queue: Leon Scroggins <995cad867ca30d6399abe011583a53547c8afea1@google.com>

google/skia,google/skia,google/skia,google/skia,google/skia,google/skia,google/skia,google/skia,google/skia,google/skia