commit | eccfdc5631a8389fabdc2736af3e5489924fadbd | [log] [tgz] |
---|---|---|
author | Xiaocheng Hu <xiaochengh@chromium.org> | Sun Jul 14 22:03:48 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Sun Jul 14 22:03:48 2019 |
tree | 8dfa07d451c48a99248db020f852b7c435197e77 | |
parent | 86388935bf0c0a6a11a88f7b42c753d7f95106ed [diff] |
DCHECK proper usage in CSSMathExpressionNode::DoubleValue() CSSMathExpressionNode::DoubleValue() returns meaningless result if the expression cannot be resolved into a single numeric value without any type conversion. This patch adds DCHECK to ensure proper usage of this function at runtime. Bug: 979895 Change-Id: I8ddf0116bfd81d8248bec3cac5ecc08bb9a3903b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1693765 Commit-Queue: Emil A Eklund <eae@chromium.org> Reviewed-by: Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#677234}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .