Index: src/core/SkPaint.cpp |
diff --git a/src/core/SkPaint.cpp b/src/core/SkPaint.cpp |
index 9e3f8edace6713d7602c3524b6567622a40c4586..6c6f0e6cb9a0ffab1a52c4758acb805662b49f85 100644 |
--- a/src/core/SkPaint.cpp |
+++ b/src/core/SkPaint.cpp |
@@ -80,7 +80,6 @@ SkPaint::SkPaint() { |
fStyle = kFill_Style; |
fTextEncoding = kUTF8_TextEncoding; |
fHinting = SkPaintDefaults_Hinting; |
- fPrivFlags = 0; |
#ifdef SK_BUILD_FOR_ANDROID |
new (&fPaintOptionsAndroid) SkPaintOptionsAndroid; |
fGenerationID = 0; |
@@ -427,10 +426,6 @@ SkImageFilter* SkPaint::setImageFilter(SkImageFilter* imageFilter) { |
SkAnnotation* SkPaint::setAnnotation(SkAnnotation* annotation) { |
SkRefCnt_SafeAssign(fAnnotation, annotation); |
GEN_ID_INC; |
- |
- bool isNoDraw = annotation && annotation->isNoDraw(); |
- fPrivFlags = SkSetClearMask(fPrivFlags, isNoDraw, kNoDrawAnnotation_PrivFlag); |
- |
return annotation; |
} |
@@ -2115,8 +2110,6 @@ void SkPaint::flatten(SkFlattenableWriteBuffer& buffer) const { |
} |
void SkPaint::unflatten(SkFlattenableReadBuffer& buffer) { |
- fPrivFlags = 0; |
- |
uint8_t flatFlags = 0; |
if (buffer.isOrderedBinaryBuffer()) { |
SkASSERT(SkAlign4(kPODPaintSize) == kPODPaintSize); |