From ee56698cfd6b899a9065d40b908cde82bde63657 Mon Sep 17 00:00:00 2001 From: John Reck Date: Fri, 13 Apr 2012 14:47:57 -0700 Subject: 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 --- Source/WebCore/Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/WebCore/Android.mk') diff --git a/Source/WebCore/Android.mk b/Source/WebCore/Android.mk index 3cf8d54..794a4a8 100644 --- a/Source/WebCore/Android.mk +++ b/Source/WebCore/Android.mk @@ -634,7 +634,6 @@ LOCAL_SRC_FILES := $(LOCAL_SRC_FILES) \ platform/graphics/WidthIterator.cpp \ \ platform/graphics/android/BitmapAllocatorAndroid.cpp \ - platform/graphics/android/GradientAndroid.cpp \ platform/graphics/android/GraphicsLayerAndroid.cpp \ platform/graphics/android/GLWebViewState.cpp \ platform/graphics/android/ImageAndroid.cpp \ @@ -728,6 +727,7 @@ LOCAL_SRC_FILES := $(LOCAL_SRC_FILES) \ platform/graphics/skia/FloatPointSkia.cpp \ platform/graphics/skia/FloatRectSkia.cpp \ platform/graphics/skia/GlyphPageTreeNodeSkia.cpp \ + platform/graphics/skia/GradientSkia.cpp \ platform/graphics/skia/IntPointSkia.cpp \ platform/graphics/skia/IntRectSkia.cpp \ platform/graphics/skia/NativeImageSkia.cpp \ -- cgit v1.1