diff options
author | alokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-06 22:12:33 +0000 |
---|---|---|
committer | alokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-06 22:12:33 +0000 |
commit | 973b7701f2be80ea89cc0799912b64b76a30de5d (patch) | |
tree | 2a6e7f587d9e94e26d8a30d56491f2a9fb4621db /skia/ext/platform_device_linux.cc | |
parent | 00174ef7842eef55f7d697fedf947b5ad415368c (diff) | |
download | chromium_src-973b7701f2be80ea89cc0799912b64b76a30de5d.zip chromium_src-973b7701f2be80ea89cc0799912b64b76a30de5d.tar.gz chromium_src-973b7701f2be80ea89cc0799912b64b76a30de5d.tar.bz2 |
Fixed a few styles issues in skia::PlatformDevice. Made function names consistent. Added Begin/EndPlatformPaint on Mac.
Review URL: http://codereview.chromium.org/6691067
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80707 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext/platform_device_linux.cc')
-rw-r--r-- | skia/ext/platform_device_linux.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/skia/ext/platform_device_linux.cc b/skia/ext/platform_device_linux.cc index c8ea48e..b943120 100644 --- a/skia/ext/platform_device_linux.cc +++ b/skia/ext/platform_device_linux.cc @@ -11,7 +11,11 @@ PlatformDevice::PlatformDevice(const SkBitmap& bitmap) } bool PlatformDevice::IsNativeFontRenderingAllowed() { - return true; + return true; +} + +void PlatformDevice::EndPlatformPaint() { + // We don't need to do anything on Linux here. } } // namespace skia |