Revert "SkTypes.h : move SkAutoMalloc into SkAutoMalloc.h"
authorKevin Lubick <kjlubick@google.com>
Wed, 11 Jan 2017 17:21:57 +0000 (17:21 +0000)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Wed, 11 Jan 2017 17:22:12 +0000 (17:22 +0000)
commitc456b73fef9589bbdc5eb83eaa83e53c357bb3da
treebcb8f75efaf1523bc781fa592f56d7ff86598c32
parentbc6b99d22e8d9f6543ffffdc846e40e8075046c5
Revert "SkTypes.h : move SkAutoMalloc into SkAutoMalloc.h"

This reverts commit a5494f117086d712855e4b6289c58c92d1549bcf.

Reason for revert: Broke Google3

Original change's description:
> SkTypes.h : move SkAutoMalloc into SkAutoMalloc.h
>
>   * SkAutoFree moved to SkTemplates.h (now implmented with unique_ptr).
>
>   * SkAutoMalloc and SkAutoSMalloc moved to SkAutoMalloc.h
>
>   * "SkAutoFree X(sk_malloc_throw(N));" --> "SkAutoMalloc X(N);"
>
> Change-Id: Idacd86ca09e22bf092422228599ae0d9bedded88
> Reviewed-on: https://skia-review.googlesource.com/4543
> Reviewed-by: Ben Wagner <bungeman@google.com>
> Reviewed-by: Mike Reed <reed@google.com>
> Commit-Queue: Hal Canary <halcanary@google.com>
>

TBR=halcanary@google.com,bungeman@google.com,reed@google.com,reviews@skia.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Change-Id: Ie8bd176121c3ee83c110d66c0d0ac65e09bfc9c5
Reviewed-on: https://skia-review.googlesource.com/6884
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
54 files changed:
bench/AndroidCodecBench.h
bench/CodecBench.h
bench/ColorCodecBench.h
bench/nanobench.cpp
dm/DMSrcSink.cpp
gm/drawatlas.cpp
include/core/SkTypes.h
include/private/SkTemplates.h
src/core/SkAAClip.h
src/core/SkAutoMalloc.h [deleted file]
src/core/SkBlitter.h
src/core/SkColorSpace_ICC.cpp
src/core/SkDistanceFieldGen.cpp
src/core/SkFontStream.cpp
src/core/SkICC.cpp
src/core/SkLinearBitmapPipeline_sample.h
src/core/SkMaskFilter.cpp
src/core/SkPictureData.cpp
src/core/SkScalerContext.cpp
src/core/SkScan_AAAPath.cpp
src/effects/gradients/SkGradientShaderPriv.h
src/gpu/GrDistanceFieldGenFromVector.cpp
src/gpu/GrYUVProvider.cpp
src/gpu/SkGr.cpp
src/gpu/gl/GrGLGpu.cpp
src/gpu/gl/builders/GrGLProgramBuilder.cpp
src/gpu/gl/builders/GrGLShaderStringBuilder.cpp
src/gpu/ops/GrAADistanceFieldPathRenderer.cpp
src/gpu/ops/GrMSAAPathRenderer.cpp
src/gpu/text/GrAtlasGlyphCache.cpp
src/gpu/vk/GrVkBackendContext.cpp
src/gpu/vk/GrVkPipelineStateDataManager.h
src/pipe/SkPipeCanvas.cpp
src/ports/SkFontConfigInterface_direct.cpp
src/ports/SkFontHost_FreeType.cpp
src/ports/SkFontHost_mac.cpp
src/ports/SkImageEncoder_WIC.cpp
tests/CodecTest.cpp
tests/ColorFilterTest.cpp
tests/FontHostTest.cpp
tests/FrontBufferedStreamTest.cpp
tests/MallocPixelRefTest.cpp
tests/PaintBreakTextTest.cpp
tests/PaintTest.cpp
tests/PathTest.cpp
tests/RegionTest.cpp
tests/StreamTest.cpp
tests/Writer32Test.cpp
tests/YUVTest.cpp
third_party/ktx/ktx.cpp
tools/SkShaper_harfbuzz.cpp
tools/debugger/SkDrawCommand.cpp
tools/viewer/sk_app/VulkanWindowContext.cpp
tools/viewer/sk_app/win/RasterWindowContext_win.cpp