diff options
author | Derek Sollenberger <djsollen@google.com> | 2011-09-01 06:04:10 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-09-01 06:04:10 -0700 |
commit | 4f35f0e844f7f679067223eaf7eb60cf4a350a05 (patch) | |
tree | 6ca529635f5d8cf7cb97096e8ebc576ddbd0edd7 /Source/WebCore/platform/graphics/android/FontAndroid.cpp | |
parent | e6303b0e3d1473670390053d70a691697ac8b0e6 (diff) | |
download | external_webkit-4f35f0e844f7f679067223eaf7eb60cf4a350a05.zip external_webkit-4f35f0e844f7f679067223eaf7eb60cf4a350a05.tar.gz external_webkit-4f35f0e844f7f679067223eaf7eb60cf4a350a05.tar.bz2 |
Reapply CL for: "Fix for antialiased text with shadows."
This reverts commit e6303b0e3d1473670390053d70a691697ac8b0e6
Diffstat (limited to 'Source/WebCore/platform/graphics/android/FontAndroid.cpp')
-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. |