| Index: skia/ext/bitmap_platform_device_skia.cc
|
| diff --git a/skia/ext/bitmap_platform_device_skia.cc b/skia/ext/bitmap_platform_device_skia.cc
|
| index 04fc950f56028a98850e11f81a0414e1a44b7b40..f3c97eb9bc9544bc0e6c19e9f99c92d0aaabf74d 100644
|
| --- a/skia/ext/bitmap_platform_device_skia.cc
|
| +++ b/skia/ext/bitmap_platform_device_skia.cc
|
| @@ -64,17 +64,4 @@ SkCanvas* CreatePlatformCanvas(int width, int height, bool is_opaque,
|
| return CreateCanvas(dev, failureType);
|
| }
|
|
|
| -// Port of PlatformBitmap to android
|
| -PlatformBitmap::~PlatformBitmap() {
|
| - // Nothing to do.
|
| -}
|
| -
|
| -bool PlatformBitmap::Allocate(int width, int height, bool is_opaque) {
|
| - if (!bitmap_.tryAllocN32Pixels(width, height, is_opaque))
|
| - return false;
|
| -
|
| - surface_ = bitmap_.getPixels();
|
| - return true;
|
| -}
|
| -
|
| } // namespace skia
|
|
|