commit | 9069bfe32c67d26504e9bea2a8d8c971526ee5f6 | [log] [tgz] |
---|---|---|
author | Ben Wagner <bungeman@google.com> | Mon Mar 23 17:29:17 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Mar 24 17:23:13 2020 +0000 |
tree | ca6879d6cdf6f13cbe6a443f5852e5fbe07dfff4 | |
parent | 9b00f1ff5440f072564d94871537efbf91efb851 [diff] |
BlendFormula to validate in constructor. A now removed comment claimed that validation could not be done in the constructor in C++11, but it turns out that it can be done. Move the validation to construction time and remove all validation done at other times. Change-Id: I267d3063fac3dc702efae71841cbd7424b19af31 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/278597 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Ben Wagner <bungeman@google.com>