summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/Gradient.cpp
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2009-12-17 13:32:53 +0000
committerSteve Block <steveblock@google.com>2010-01-05 14:29:48 +0000
commitf912b6f62505f60109e7300787c93111dbd70560 (patch)
tree2432507bd57c2620b2e167f8368e548506c041f1 /WebCore/platform/graphics/Gradient.cpp
parent8c8c7b43f311d492d2c13ee68bc91875262ae072 (diff)
downloadexternal_webkit-f912b6f62505f60109e7300787c93111dbd70560.zip
external_webkit-f912b6f62505f60109e7300787c93111dbd70560.tar.gz
external_webkit-f912b6f62505f60109e7300787c93111dbd70560.tar.bz2
Defines PLATFORM(SKIA), instead of PLATFROM(SGL) for Android.
Skia is used by Chromium, which defines PLATFORM(SKIA). Android also uses Skia, but currently defines PLATFORM(SGL) to account for platform-specific differences between Android and Chromum. We now use PLATFORM(SKIA) on Android and remove PLATFORM(SGL). Platform-specific differences are achieved with PLATFORM(ANDROID) guards. This reduces our diff with webkit.org. Change-Id: Ibf920b1929e7c3cdabb025ae61ceae3df67258bb
Diffstat (limited to 'WebCore/platform/graphics/Gradient.cpp')
-rw-r--r--WebCore/platform/graphics/Gradient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/Gradient.cpp b/WebCore/platform/graphics/Gradient.cpp
index 77a0d21..204a2b6 100644
--- a/WebCore/platform/graphics/Gradient.cpp
+++ b/WebCore/platform/graphics/Gradient.cpp
@@ -161,7 +161,7 @@ void Gradient::setGradientSpaceTransform(const TransformationMatrix& gradientSpa
setPlatformGradientSpaceTransform(gradientSpaceTransformation);
}
-#if !PLATFORM(SKIA)
+#if !(PLATFORM(SKIA) && !PLATFORM(ANDROID))
void Gradient::setPlatformGradientSpaceTransform(const TransformationMatrix&)
{
}