summaryrefslogtreecommitdiffstats
path: root/skia/ext/platform_device_mac.cc
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-08 05:02:30 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-08 05:02:30 +0000
commitf756798f4a2372d778b88e3dbe9895a2ee8eb1fc (patch)
tree5cfdbd797a4e404deab0fc4e8f286b21fa6493cf /skia/ext/platform_device_mac.cc
parentd93d833fbc80b3cbe987b35c62b8fd290c6ee791 (diff)
downloadchromium_src-f756798f4a2372d778b88e3dbe9895a2ee8eb1fc.zip
chromium_src-f756798f4a2372d778b88e3dbe9895a2ee8eb1fc.tar.gz
chromium_src-f756798f4a2372d778b88e3dbe9895a2ee8eb1fc.tar.bz2
roll skia 636:673
I need r666 (r667 and r668 are build fixes for r666. r673 fixes a regression that was introduced in r637 – found by the chromium trybots). Some code changes required due to r637, which changed the signature of a pure virtual method and the signatures of several non-virtual methods. I added OVERRIDEs on windows to let this be a compile error in the future. I also added SkBitmapCache.h/cpp to the gyp file which was added in r655. SkGradientShader depends on this. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=70693 Review URL: http://codereview.chromium.org/6081006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70835 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext/platform_device_mac.cc')
-rw-r--r--skia/ext/platform_device_mac.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/skia/ext/platform_device_mac.cc b/skia/ext/platform_device_mac.cc
index 42927cc..31f0d19 100644
--- a/skia/ext/platform_device_mac.cc
+++ b/skia/ext/platform_device_mac.cc
@@ -32,7 +32,8 @@ bool constrain(int available_size, int* position, int *size) {
} // namespace
-PlatformDevice::PlatformDevice(const SkBitmap& bitmap) : SkDevice(bitmap) {
+PlatformDevice::PlatformDevice(const SkBitmap& bitmap)
+ : SkDevice(NULL, bitmap, /*isForLayer=*/false) {
}
// Set up the CGContextRef for peaceful coexistence with Skia