summaryrefslogtreecommitdiffstats
path: root/Source/WebCore
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2011-06-03 08:02:52 -0400
committerDerek Sollenberger <djsollen@google.com>2011-06-03 08:02:52 -0400
commita3d968a2da0ae3463991e973e38af6795ad36c2e (patch)
tree6ca529635f5d8cf7cb97096e8ebc576ddbd0edd7 /Source/WebCore
parentb4d178df818e8b6e7a1cfbb0e34bbf7bb9d74ec9 (diff)
downloadexternal_webkit-a3d968a2da0ae3463991e973e38af6795ad36c2e.zip
external_webkit-a3d968a2da0ae3463991e973e38af6795ad36c2e.tar.gz
external_webkit-a3d968a2da0ae3463991e973e38af6795ad36c2e.tar.bz2
Fix for antialiased text with shadows.
bug: 4502715 Change-Id: I5301526da2ff4962e7d1fda2b0ad39c407013e05
Diffstat (limited to 'Source/WebCore')
-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.