summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2011-06-03 05:48:42 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-06-03 05:48:42 -0700
commit3f3196c8a233bcfde2e27037ba7b1ca2cafcf767 (patch)
treeb929fa9ce93839fd0bcea70aede30b5ce03cce62
parent9edb4a50497e3cf0c9a10aa77d991c5d86fc787a (diff)
parenta3d968a2da0ae3463991e973e38af6795ad36c2e (diff)
downloadexternal_webkit-3f3196c8a233bcfde2e27037ba7b1ca2cafcf767.zip
external_webkit-3f3196c8a233bcfde2e27037ba7b1ca2cafcf767.tar.gz
external_webkit-3f3196c8a233bcfde2e27037ba7b1ca2cafcf767.tar.bz2
Merge "Fix for antialiased text with shadows."
-rw-r--r--Source/WebCore/platform/graphics/android/FontAndroid.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/android/FontAndroid.cpp b/Source/WebCore/platform/graphics/android/FontAndroid.cpp
index af2edc7..d6fe10c 100644
--- a/Source/WebCore/platform/graphics/android/FontAndroid.cpp
+++ b/Source/WebCore/platform/graphics/android/FontAndroid.cpp
@@ -99,6 +99,7 @@ static bool setupForText(SkPaint* paint, GraphicsContext* gc,
SkLayerDrawLooper::LayerInfo info;
info.fPaintBits = SkLayerDrawLooper::kEntirePaint_Bits;
info.fColorMode = SkXfermode::kSrc_Mode;
+ info.fFlagsMask = SkPaint::kAllFlags;
// The paint is only valid until the looper receives another call to
// addLayer(). Therefore, we must cache certain state for later use.