Index: skia/ext/platform_device_linux.h |
=================================================================== |
--- skia/ext/platform_device_linux.h (revision 86628) |
+++ skia/ext/platform_device_linux.h (working copy) |
@@ -6,9 +6,10 @@ |
#define SKIA_EXT_PLATFORM_DEVICE_LINUX_H_ |
#pragma once |
-#include "skia/ext/platform_device.h" |
#include "third_party/skia/include/core/SkDevice.h" |
+typedef struct _cairo cairo_t; |
+ |
namespace skia { |
// Blindly copying the mac hierarchy. |
@@ -25,12 +26,6 @@ |
virtual PlatformSurface BeginPlatformPaint() = 0; |
virtual void EndPlatformPaint(); |
- virtual void DrawToNativeContext(PlatformSurface surface, int x, int y, |
- const PlatformRect* src_rect ); |
- |
- // Sets the opacity of each pixel in the specified region to be opaque. |
- virtual void MakeOpaque(int x, int y, int width, int height) { } |
- |
protected: |
// Forwards |bitmap| to SkDevice's constructor. |
explicit PlatformDevice(const SkBitmap& bitmap); |