| Index: skia/ext/bitmap_platform_device_android.cc
|
| diff --git a/skia/ext/bitmap_platform_device_android.cc b/skia/ext/bitmap_platform_device_android.cc
|
| index 8a29586abcba39c915f56ab495f84fa56f9de866..32f447f4ac3cd943897c094db126c9372b43da05 100644
|
| --- a/skia/ext/bitmap_platform_device_android.cc
|
| +++ b/skia/ext/bitmap_platform_device_android.cc
|
| @@ -46,14 +46,14 @@ BitmapPlatformDevice* BitmapPlatformDevice::Create(int width, int height,
|
| }
|
|
|
| BitmapPlatformDevice::BitmapPlatformDevice(const SkBitmap& bitmap)
|
| - : SkDevice(bitmap) {
|
| + : SkBitmapDevice(bitmap) {
|
| SetPlatformDevice(this, this);
|
| }
|
|
|
| BitmapPlatformDevice::~BitmapPlatformDevice() {
|
| }
|
|
|
| -SkDevice* BitmapPlatformDevice::onCreateCompatibleDevice(
|
| +SkBaseDevice* BitmapPlatformDevice::onCreateCompatibleDevice(
|
| SkBitmap::Config config, int width, int height, bool isOpaque,
|
| Usage /*usage*/) {
|
| SkASSERT(config == SkBitmap::kARGB_8888_Config);
|
| @@ -76,7 +76,7 @@ void BitmapPlatformDevice::DrawToNativeContext(
|
|
|
| SkCanvas* CreatePlatformCanvas(int width, int height, bool is_opaque,
|
| uint8_t* data, OnFailureType failureType) {
|
| - skia::RefPtr<SkDevice> dev = skia::AdoptRef(
|
| + skia::RefPtr<SkBaseDevice> dev = skia::AdoptRef(
|
| BitmapPlatformDevice::Create(width, height, is_opaque, data));
|
| return CreateCanvas(dev, failureType);
|
| }
|
|
|