| Index: skia/ext/platform_device_linux.cc
|
| ===================================================================
|
| --- skia/ext/platform_device_linux.cc (revision 86628)
|
| +++ skia/ext/platform_device_linux.cc (working copy)
|
| @@ -2,13 +2,12 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "skia/ext/platform_device.h"
|
| +#include "skia/ext/platform_device_linux.h"
|
|
|
| namespace skia {
|
|
|
| PlatformDevice::PlatformDevice(const SkBitmap& bitmap)
|
| : SkDevice(NULL, bitmap, /*isForLayer=*/false) {
|
| - SetPlatformDevice(this, this);
|
| }
|
|
|
| bool PlatformDevice::IsNativeFontRenderingAllowed() {
|
| @@ -19,10 +18,4 @@
|
| // We don't need to do anything on Linux here.
|
| }
|
|
|
| -void PlatformDevice::DrawToNativeContext(PlatformSurface surface, int x, int y,
|
| - const PlatformRect* src_rect) {
|
| - // Should never be called on Linux.
|
| - SkASSERT(false);
|
| -}
|
| -
|
| } // namespace skia
|
|
|