Index: src/utils/debugger/SkObjectParser.cpp |
diff --git a/src/utils/debugger/SkObjectParser.cpp b/src/utils/debugger/SkObjectParser.cpp |
index 3dbc03901fbb65f22b88126ced4d51c9aa05e9ab..6d71a38b7b86e99fab48d49fcb51d0ffc560e655 100644 |
--- a/src/utils/debugger/SkObjectParser.cpp |
+++ b/src/utils/debugger/SkObjectParser.cpp |
@@ -338,16 +338,13 @@ SkString* SkObjectParser::RegionToString(const SkRegion& region) { |
return mRegion; |
} |
-SkString* SkObjectParser::SaveFlagsToString(SkCanvas::SaveFlags flags) { |
+SkString* SkObjectParser::SaveLayerFlagsToString(SkCanvas::SaveLayerFlags saveLayerFlags) { |
SkString* mFlags = new SkString("SkCanvas::SaveFlags: "); |
- if (flags & SkCanvas::kHasAlphaLayer_SaveFlag) { |
- mFlags->append("kHasAlphaLayer_SaveFlag "); |
+ if (saveLayerFlags & SkCanvas::kIsOpaque_SaveLayerFlag) { |
+ mFlags->append("kIsOpaque_SaveLayerFlag "); |
} |
- if (flags & SkCanvas::kFullColorLayer_SaveFlag) { |
- mFlags->append("kFullColorLayer_SaveFlag "); |
- } |
- if (flags & SkCanvas::kClipToLayer_SaveFlag) { |
- mFlags->append("kClipToLayer_SaveFlag "); |
+ if (saveLayerFlags & SkCanvas::kPreserveLCDText_SaveLayerFlag) { |
+ mFlags->append("kPreserveLCDText_SaveLayerFlag "); |
} |
return mFlags; |
} |