Fix to call SkDelete_array instead of SkDelete to fix ASAN error.
TBR=mtklein@google.com BUG=skia: Review URL: https://codereview.chromium.org/1282333002
This commit is contained in:
parent
2a5ca89ea1
commit
fb69bb3a5e
@ -253,7 +253,7 @@ GrStrokeInfo TestStrokeInfo(SkRandom* random) {
|
||||
}
|
||||
dashInfo.fPhase = random->nextRangeScalar(0, sum);
|
||||
strokeInfo.setDashInfo(dashInfo);
|
||||
SkDELETE(dashInfo.fIntervals);
|
||||
SkDELETE_ARRAY(dashInfo.fIntervals);
|
||||
return strokeInfo;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user