summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2011-09-01 12:53:19 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-09-01 12:53:19 -0700
commitb53cff5eb9dbb10169c8adae7692c91d0a807ed9 (patch)
tree6282352507232def56742413eafaaba94f645282 /Source
parent279c3d30edcdb72407a73b7ecb1e6e737423212b (diff)
parent4f35f0e844f7f679067223eaf7eb60cf4a350a05 (diff)
downloadexternal_webkit-b53cff5eb9dbb10169c8adae7692c91d0a807ed9.zip
external_webkit-b53cff5eb9dbb10169c8adae7692c91d0a807ed9.tar.gz
external_webkit-b53cff5eb9dbb10169c8adae7692c91d0a807ed9.tar.bz2
Merge "Reapply CL for: "Fix for antialiased text with shadows.""
Diffstat (limited to 'Source')
-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 31589e3..674938b 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.