diff options
| author | Derek Sollenberger <djsollen@google.com> | 2011-06-03 05:48:42 -0700 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-06-03 05:48:42 -0700 |
| commit | 3f3196c8a233bcfde2e27037ba7b1ca2cafcf767 (patch) | |
| tree | b929fa9ce93839fd0bcea70aede30b5ce03cce62 | |
| parent | 9edb4a50497e3cf0c9a10aa77d991c5d86fc787a (diff) | |
| parent | a3d968a2da0ae3463991e973e38af6795ad36c2e (diff) | |
| download | external_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.cpp | 1 |
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. |
