Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(741)

Unified Diff: skia/ext/vector_platform_device_cairo_linux.h

Issue 7754001: Revert 98230 - CL removing inheritance of SkDevice from PlatformDevice. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « skia/ext/platform_device_win.cc ('k') | skia/ext/vector_platform_device_cairo_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/vector_platform_device_cairo_linux.h
===================================================================
--- skia/ext/vector_platform_device_cairo_linux.h (revision 98232)
+++ skia/ext/vector_platform_device_cairo_linux.h (working copy)
@@ -19,13 +19,12 @@
// cooresponding Cairo APIs and outputs to a Cairo surface. Please NOTE that
// since it is completely vectorial, the bitmap content in it is thus
// meaningless.
-class SK_API VectorPlatformDeviceCairo : public PlatformDevice,
- public SkDevice {
+class SK_API VectorPlatformDeviceCairo : public PlatformDevice {
public:
virtual ~VectorPlatformDeviceCairo();
- static SkDevice* CreateDevice(cairo_t* context, int width, int height,
- bool isOpaque);
+ static PlatformDevice* CreateDevice(cairo_t* context, int width, int height,
+ bool isOpaque);
// Clean up cached fonts. It is an error to call this while some
// VectorPlatformDeviceCairo callee is still using fonts created for it by
@@ -68,19 +67,17 @@
const SkPaint&) OVERRIDE;
virtual void setMatrixClip(const SkMatrix& transform, const SkRegion& region,
- const SkClipStack&) OVERRIDE;
+ const SkClipStack&);
// Overridden from PlatformDevice
- virtual PlatformSurface BeginPlatformPaint() OVERRIDE;
- virtual void DrawToNativeContext(PlatformSurface surface, int x, int y,
- const PlatformRect* src_rect) OVERRIDE;
+ virtual PlatformSurface BeginPlatformPaint();
protected:
VectorPlatformDeviceCairo(PlatformSurface context, const SkBitmap& bitmap);
virtual SkDevice* onCreateCompatibleDevice(SkBitmap::Config, int width,
int height, bool isOpaque,
- Usage usage) OVERRIDE;
+ Usage usage);
private:
// Apply paint's color in the context.
« no previous file with comments | « skia/ext/platform_device_win.cc ('k') | skia/ext/vector_platform_device_cairo_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698