diff options
author | ctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-17 02:08:24 +0000 |
---|---|---|
committer | ctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-17 02:08:24 +0000 |
commit | 8d51d5b3410eb831650235db3132ce2014617945 (patch) | |
tree | 5fa3f22d362506015a60b5b422cf15cc0645630b /skia/ext/platform_device_mac.cc | |
parent | 367e944e34332bec86ab2562a9b6e4c0133a9cfd (diff) | |
download | chromium_src-8d51d5b3410eb831650235db3132ce2014617945.zip chromium_src-8d51d5b3410eb831650235db3132ce2014617945.tar.gz chromium_src-8d51d5b3410eb831650235db3132ce2014617945.tar.bz2 |
Fix clang mac compile error.
- [chromium-style] virtual methods with non-empty bodies shouldn't be declared inline.
TBR=vandebo
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6672069
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78503 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext/platform_device_mac.cc')
-rw-r--r-- | skia/ext/platform_device_mac.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/skia/ext/platform_device_mac.cc b/skia/ext/platform_device_mac.cc index 31f0d19..30a179a 100644 --- a/skia/ext/platform_device_mac.cc +++ b/skia/ext/platform_device_mac.cc @@ -36,6 +36,10 @@ PlatformDevice::PlatformDevice(const SkBitmap& bitmap) : SkDevice(NULL, bitmap, /*isForLayer=*/false) { } +bool PlatformDevice::IsNativeFontRenderingAllowed() { + return true; +} + // Set up the CGContextRef for peaceful coexistence with Skia void PlatformDevice::InitializeCGContext(CGContextRef context) { // CG defaults to the same settings as Skia |