Revert of free -> reset (patchset #3 id:40001 of https://codereview.chromium.org...
authorbungeman <bungeman@google.com>
Thu, 17 Mar 2016 16:53:58 +0000 (09:53 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 17 Mar 2016 16:53:58 +0000 (09:53 -0700)
commit43812e24cbb97208d149f419f0c3f61181ba4126
tree8fcded06a5a187a33341377c9e039ac3eb74a4c8
parent57d66ddf50b31c2561526075be9c8796df209e2d
Revert of free -> reset (patchset #3 id:40001 of https://codereview.chromium.org/1811723002/ )

Reason for revert:
Suspect for Win10 failures.

Original issue's description:
> free -> reset
>
> The C++ standard library uses ".reset()" where we sometimes write ".free()".
> We also use ".reset()" quite a lot.  This standardizes on ".reset()".
>
> This is one more step towards dropping SkAutoTDelete in favor of the standard
> std::unique_ptr.
>
> BUG=skia:
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1811723002
>
> Committed: https://skia.googlesource.com/skia/+/0e3738db89e86035ed5d4f629bf58b817b1e5274

TBR=reed@google.com,mtklein@google.com,mtklein@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:

Review URL: https://codereview.chromium.org/1813843002
16 files changed:
bench/GrMemoryPoolBench.cpp
dm/DMSrcSink.cpp
include/core/SkTypes.h
include/private/SkTemplates.h
src/codec/SkBmpCodec.cpp
src/codec/SkJpegCodec.cpp
src/codec/SkRawCodec.cpp
src/core/SkAdvancedTypefaceMetrics.cpp
src/core/SkAdvancedTypefaceMetrics.h
src/gpu/GrGlyph.h
src/gpu/GrLayerCache.cpp
src/gpu/text/GrBatchFontCache.cpp
src/images/SkImageDecoder_libwebp.cpp
src/pdf/SkPDFDevice.cpp
src/utils/SkBitSet.cpp
src/xml/SkDOM.cpp