summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/Gradient.cpp
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2012-04-13 14:47:57 -0700
committerJohn Reck <jreck@google.com>2012-04-13 15:43:36 -0700
commitee56698cfd6b899a9065d40b908cde82bde63657 (patch)
tree30d90beaee6f21cc0b05fa2cba4f5d59b4610707 /Source/WebCore/platform/graphics/Gradient.cpp
parent6db940d5b0fdc1d28edd7851ed30885e5f7d0dc8 (diff)
downloadexternal_webkit-ee56698cfd6b899a9065d40b908cde82bde63657.zip
external_webkit-ee56698cfd6b899a9065d40b908cde82bde63657.tar.gz
external_webkit-ee56698cfd6b899a9065d40b908cde82bde63657.tar.bz2
Fix Gradient & Pattern handling
Bug: 6300357 Switch to GradientSkia (fixes the crash) Fix GraphicsContextAndroid to delay setting the fill & stroke shaders until immediately before they are needed, as they can be updated between when they are set and when they are used, which SkShader doesn't support. Change-Id: I85c81ad5764495f45547d2cef08bcf7ed7a885c1
Diffstat (limited to 'Source/WebCore/platform/graphics/Gradient.cpp')
-rw-r--r--Source/WebCore/platform/graphics/Gradient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/Gradient.cpp b/Source/WebCore/platform/graphics/Gradient.cpp
index 7541646..7e3984f 100644
--- a/Source/WebCore/platform/graphics/Gradient.cpp
+++ b/Source/WebCore/platform/graphics/Gradient.cpp
@@ -221,7 +221,7 @@ void Gradient::setGradientSpaceTransform(const AffineTransform& gradientSpaceTra
setPlatformGradientSpaceTransform(gradientSpaceTransformation);
}
-#if !(USE(SKIA) && !PLATFORM(ANDROID)) && !USE(CAIRO)
+#if !USE(SKIA) && !USE(CAIRO)
void Gradient::setPlatformGradientSpaceTransform(const AffineTransform&)
{
}