summaryrefslogtreecommitdiffstats
path: root/skia/ext/bitmap_platform_device_linux.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-13 20:02:10 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-13 20:02:10 +0000
commit3d2da9c08491d46c0b3f8dcdccbb6d1c84bfbc40 (patch)
tree69a5b20223783d3ba79a2d0652bdc2cb756020f3 /skia/ext/bitmap_platform_device_linux.h
parent4ed4ec64a3ac63c865f7ccfeed4abb64e251bd62 (diff)
downloadchromium_src-3d2da9c08491d46c0b3f8dcdccbb6d1c84bfbc40.zip
chromium_src-3d2da9c08491d46c0b3f8dcdccbb6d1c84bfbc40.tar.gz
chromium_src-3d2da9c08491d46c0b3f8dcdccbb6d1c84bfbc40.tar.bz2
Revert previous clipping rect change for Cairo to see if it fixes the build.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20516 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext/bitmap_platform_device_linux.h')
-rw-r--r--skia/ext/bitmap_platform_device_linux.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/skia/ext/bitmap_platform_device_linux.h b/skia/ext/bitmap_platform_device_linux.h
index eb6ffa9..a40986c 100644
--- a/skia/ext/bitmap_platform_device_linux.h
+++ b/skia/ext/bitmap_platform_device_linux.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -85,11 +85,9 @@ class BitmapPlatformDevice : public PlatformDevice {
// If someone wants to paint on a Cairo surface version of our
// buffer, then give them the surface we're already using.
- virtual cairo_t* beginPlatformPaint();
+ virtual cairo_surface_t* beginPlatformPaint() { return surface(); }
- // Loads the given transform and clipping region into the HDC. This is
- // overridden from SkDevice.
- virtual void setMatrixClip(const SkMatrix& transform, const SkRegion& region);
+ cairo_surface_t* surface() const;
private:
scoped_refptr<BitmapPlatformDeviceData> data_;