Revert of Make SkSmallAllocator obey the RAII invariants and be expandable (patchset...
authormtklein <mtklein@chromium.org>
Sun, 13 Nov 2016 17:55:05 +0000 (09:55 -0800)
committerCommit bot <commit-bot@chromium.org>
Sun, 13 Nov 2016 17:55:05 +0000 (09:55 -0800)
commitf982cb37e3092e7a69c13a12ec09806ceff5af45
tree3d8c187a3f8c37a799c60f355b96f43601c272f5
parentc18b5f8f57a4efc5d5d1e399ed8bd3bd02c592ab
Revert of Make SkSmallAllocator obey the RAII invariants and be expandable (patchset #15 id:280001 of https://codereview.chromium.org/2488523003/ )

Reason for revert:
bots crashing / asserting

Original issue's description:
> Make SkSmallAllocator obey the RAII invariants and move to heap structures when needed.
>
> The biggest change is to the API which allowed code to bypass the
> destruction invariants. This destruction bypass feature was needed in
> only one use, and is totally encapsulated using createWithIniterT.
>
> BUG=skia:
> GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2488523003
>
> Committed: https://skia.googlesource.com/skia/+/d5dc657b8c3ac916f98005dafdedafe02f023449
> Committed: https://skia.googlesource.com/skia/+/c18b5f8f57a4efc5d5d1e399ed8bd3bd02c592ab

TBR=bungeman@google.com,herb@google.com
# 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/2494353002
src/core/SkBlitter.cpp
src/core/SkCanvas.cpp
src/core/SkDrawLooper.cpp
src/core/SkRasterPipelineBlitter.cpp
src/core/SkSmallAllocator.h
tests/LayerDrawLooperTest.cpp
tests/SmallAllocatorTest.cpp