summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--WebCore/platform/graphics/android/LayerAndroid.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/android/LayerAndroid.cpp b/WebCore/platform/graphics/android/LayerAndroid.cpp
index ef500c4..4e3f55d 100644
--- a/WebCore/platform/graphics/android/LayerAndroid.cpp
+++ b/WebCore/platform/graphics/android/LayerAndroid.cpp
@@ -50,6 +50,10 @@ class OpacityDrawFilter : public SkDrawFilter {
paint->setAlpha(m_opacity);
return true;
}
+ virtual void filter(SkPaint* paint, Type)
+ {
+ paint->setAlpha(m_opacity);
+ }
virtual void restore(SkCanvas* canvas, SkPaint* paint, Type)
{
paint->setAlpha(m_previousOpacity);