commit | 06196411cb3e06bd041b7ec12e69d0a7a790d5b7 | [log] [tgz] |
---|---|---|
author | Yuqian Li <liyuqian@google.com> | Mon Nov 14 16:45:01 2016 -0500 |
committer | Mike Klein <mtklein@chromium.org> | Mon Nov 14 23:08:21 2016 +0000 |
tree | 0dcd15190402b969b29b60000321a57ceaaf8189 | |
parent | 662c2aed38c1917c05883095a8013f51931aafa4 [diff] |
Catch width overflow in ASAN using int64 This is related with our previous CL: https://skia-review.googlesource.com/c/4628/ That previous CL fix won't pass the ASAN test (../../../include/core/SkRect.h:72:39: runtime error: signed integer overflow: 1 - -2147483648 cannot be represented in type 'int') so we use int64 in this CL. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4785 Change-Id: I39f7329c427d49f4be07588f37120722ac9892c2 Reviewed-on: https://skia-review.googlesource.com/4785 Reviewed-by: Mike Reed <reed@google.com>