Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(902)

Unified Diff: src/core/SkDraw.cpp

Issue 951353002: Revert of Make fID and MixedID calculations private (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/core/SkPaint.h ('k') | src/core/SkGlyph.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkDraw.cpp
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp
index bbc684168c2066c8e6b42cff72bfd197b049f544..03b331108dc27226d5c761e303f4ba3bcc7d89ce 100644
--- a/src/core/SkDraw.cpp
+++ b/src/core/SkDraw.cpp
@@ -1534,7 +1534,7 @@
fPaint = &pnt;
if (cache->isSubpixel()) {
- fHalfSampleX = fHalfSampleY = SkGlyph::kSubpixelRound;
+ fHalfSampleX = fHalfSampleY = (SK_FixedHalf >> SkGlyph::kSubBits);
} else {
fHalfSampleX = fHalfSampleY = SK_FixedHalf;
}
« no previous file with comments | « include/core/SkPaint.h ('k') | src/core/SkGlyph.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698