summaryrefslogtreecommitdiffstats
path: root/skia/ext/platform_device_linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'skia/ext/platform_device_linux.h')
-rw-r--r--skia/ext/platform_device_linux.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/skia/ext/platform_device_linux.h b/skia/ext/platform_device_linux.h
index d10d795..718560c 100644
--- a/skia/ext/platform_device_linux.h
+++ b/skia/ext/platform_device_linux.h
@@ -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 @@ class PlatformDevice : public SkDevice {
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);