aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/llvm_coverage_build
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-01-04 18:56:57 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-01-04 18:56:57 -0800
commitc8be09aaf2bbfa004c574553fc9d194ac7f1ce1a (patch)
treefc0a0fc1f19afcef4be066157abc386048b39f4c /tools/llvm_coverage_build
parent29dd813b13719b9d7082a017ce79590f1706dccd (diff)
Two malloc+bzero -> calloc.
I was profiling DM and noticed a couple spots where we malloc then bzero. These might as well call calloc instead: - any time DM itself allocates bitmaps for raster drawing; - any time Skia allocates memory for a raster SkSurface. We could use malloc for opaque surfaces, but it seems simpler to always calloc. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1557713003 Review URL: https://codereview.chromium.org/1557713003
Diffstat (limited to 'tools/llvm_coverage_build')
0 files changed, 0 insertions, 0 deletions