diff options
author | ctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-17 01:33:34 +0000 |
---|---|---|
committer | ctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-17 01:33:34 +0000 |
commit | 6d8c07db861dedcec1bff118e5d6d330c55d6290 (patch) | |
tree | cb9a79a9045ebbf70d6ef69f1c1fd9555ef16521 /skia | |
parent | 5a3b4d3d89a226326174279ba1478ee069d015be (diff) | |
download | chromium_src-6d8c07db861dedcec1bff118e5d6d330c55d6290.zip chromium_src-6d8c07db861dedcec1bff118e5d6d330c55d6290.tar.gz chromium_src-6d8c07db861dedcec1bff118e5d6d330c55d6290.tar.bz2 |
Fix clang 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/6674048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78494 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r-- | skia/ext/platform_device_linux.cc | 4 | ||||
-rw-r--r-- | skia/ext/platform_device_linux.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/skia/ext/platform_device_linux.cc b/skia/ext/platform_device_linux.cc index 46b5350..c8ea48e 100644 --- a/skia/ext/platform_device_linux.cc +++ b/skia/ext/platform_device_linux.cc @@ -10,4 +10,8 @@ PlatformDevice::PlatformDevice(const SkBitmap& bitmap) : SkDevice(NULL, bitmap, /*isForLayer=*/false) { } +bool PlatformDevice::IsNativeFontRenderingAllowed() { + return true; +} + } // namespace skia diff --git a/skia/ext/platform_device_linux.h b/skia/ext/platform_device_linux.h index b1b67dd..17cb67f 100644 --- a/skia/ext/platform_device_linux.h +++ b/skia/ext/platform_device_linux.h @@ -21,7 +21,7 @@ class PlatformDevice : public SkDevice { virtual bool IsVectorial() = 0; // Returns if native platform APIs are allowed to render text to this device. - virtual bool IsNativeFontRenderingAllowed() { return true; } + virtual bool IsNativeFontRenderingAllowed(); virtual PlatformSurface beginPlatformPaint() = 0; |