diff options
author | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-31 05:12:26 +0000 |
---|---|---|
committer | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-31 05:12:26 +0000 |
commit | fbf0694995d3881fdef3741252daa58e69103163 (patch) | |
tree | a40d9786b8c8f82bfbf290b1feb7e9ac1e81a449 /webkit/port | |
parent | e8a946a41a7135ebc490148fba70f229eabea3df (diff) | |
download | chromium_src-fbf0694995d3881fdef3741252daa58e69103163.zip chromium_src-fbf0694995d3881fdef3741252daa58e69103163.tar.gz chromium_src-fbf0694995d3881fdef3741252daa58e69103163.tar.bz2 |
Re-add ifdefs for mac & linux builds in the graphics files.
Review URL: http://codereview.chromium.org/8952
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4273 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port')
-rw-r--r-- | webkit/port/platform/graphics/PlatformContextSkia.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/webkit/port/platform/graphics/PlatformContextSkia.cpp b/webkit/port/platform/graphics/PlatformContextSkia.cpp index 5bc02d2..2cc946a 100644 --- a/webkit/port/platform/graphics/PlatformContextSkia.cpp +++ b/webkit/port/platform/graphics/PlatformContextSkia.cpp @@ -470,6 +470,10 @@ void PlatformContextSkia::setDashPathEffect(SkDashPathEffect* dash) { } } +// TODO(brettw) all this platform stuff should be moved out of this class into +// platform-specific files for that type of thing (e.g. to FontWin). +#if PLATFORM(WIN_OS) + const gfx::NativeTheme* PlatformContextSkia::nativeTheme() { return gfx::NativeTheme::instance(); } @@ -591,6 +595,8 @@ bool PlatformContextSkia::paintText(FontHandle hfont, return success; } +#endif // PLATFORM(WIN_OS); + void PlatformContextSkia::paintSkPaint(const SkRect& rect, const SkPaint& paint) { canvas_->drawRect(rect, paint); |