make allocPixels throw on failure
authorreed <reed@google.com>
Tue, 2 Sep 2014 19:50:45 +0000 (12:50 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 2 Sep 2014 19:50:45 +0000 (12:50 -0700)
commit848250415eddc54075f7eb8795e8db79e749c6ab
treeeb60aea6e61c9b3a9e195ab3cfb01d571351f78b
parent00f30bdc9e34b013da54b4406f36556c5be8d041
make allocPixels throw on failure

BUG=skia:
R=mtklein@google.com, fmalita@google.com, fmalita@chromium.org

Author: reed@google.com

Review URL: https://codereview.chromium.org/510423005
47 files changed:
gyp/skia_for_chromium_defines.gypi
include/core/SkBitmap.h
samplecode/SampleApp.cpp
samplecode/SampleFilterFuzz.cpp
samplecode/SampleUnpremul.cpp
src/core/SkBitmap.cpp
src/core/SkBitmapDevice.cpp
src/core/SkCanvas.cpp
src/core/SkPictureShader.cpp
src/core/SkScalerContext.cpp
src/effects/SkAlphaThresholdFilter.cpp
src/effects/SkBlurImageFilter.cpp
src/effects/SkDisplacementMapEffect.cpp
src/effects/SkLightingImageFilter.cpp
src/effects/SkMagnifierImageFilter.cpp
src/effects/SkMatrixConvolutionImageFilter.cpp
src/effects/SkMorphologyImageFilter.cpp
src/gpu/GrSWMaskHelper.cpp
src/gpu/GrSurface.cpp
src/gpu/SkGrPixelRef.cpp
src/image/SkImage.cpp
src/images/SkDecodingImageGenerator.cpp
src/images/SkImageDecoder.cpp
src/images/SkImageDecoder_libjpeg.cpp
src/images/SkImageDecoder_libpng.cpp
src/images/SkImageDecoder_libwebp.cpp
src/images/SkMovie_gif.cpp
src/lazy/SkCachingPixelRef.cpp
src/lazy/SkDiscardablePixelRef.cpp
src/pdf/SkPDFDevice.cpp
src/pdf/SkPDFImage.cpp
src/utils/SkPDFRasterizer.cpp
src/utils/mac/SkCreateCGImageRef.cpp
tests/ARGBImageEncoderTest.cpp
tests/BitmapCopyTest.cpp
tests/BitmapHasherTest.cpp
tests/BitmapTest.cpp
tests/CachedDecodingPixelRefTest.cpp
tests/DrawBitmapRectTest.cpp
tests/ImageDecodingTest.cpp
tests/KtxTest.cpp
tests/PathOpsSkpClipTest.cpp
tests/ReadPixelsTest.cpp
tests/SerializationTest.cpp
tests/SkResourceCacheTest.cpp
tests/TextureCompressionTest.cpp
tests/WritePixelsTest.cpp