aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/CanvasStateHelpers.cpp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-11-14 09:22:40 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-11-14 09:22:40 -0800
commitd4897591fddf8f2a4860066449fb7dd8b0cc7b77 (patch)
treeda215b78e52e601ee48d296b639a3c224c9234e7 /tests/CanvasStateHelpers.cpp
parent36e6e266b882b7687fb526dc13eeb23ffbc2b85e (diff)
Don't pass null to memcmp.
This will allow us to add nonnull-attribute to the UBSAN bot. We are in fact hitting a case where one of the arguments is null and the other not, which seems dicey. I think the scenario is comparing the empty pathref with another path ref that's just been COWed, without any verbs or points yet. BUG=skia: Review URL: https://codereview.chromium.org/732643002
Diffstat (limited to 'tests/CanvasStateHelpers.cpp')
0 files changed, 0 insertions, 0 deletions