Index: src/core/SkPicturePlayback.cpp |
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp |
index 4b028f714e91da5d2c96a108fd177c4afedab023..a5dd814b82a2b14d1b35ce737ce9ab5d842cc338 100644 |
--- a/src/core/SkPicturePlayback.cpp |
+++ b/src/core/SkPicturePlayback.cpp |
@@ -21,10 +21,6 @@ enum LegacySaveFlags { |
kHasAlphaLayer_LegacySaveFlags = 0x04, |
kClipToLayer_LegacySaveFlags = 0x10, |
}; |
-#ifdef SK_SUPPORT_LEGACY_SAVEFLAGS |
-static_assert(kHasAlphaLayer_LegacySaveFlags == (int)SkCanvas::kHasAlphaLayer_SaveFlag, ""); |
-static_assert(kClipToLayer_LegacySaveFlags == (int)SkCanvas::kClipToLayer_SaveFlag, ""); |
-#endif |
SkCanvas::SaveLayerFlags SkCanvas::LegacySaveFlagsToSaveLayerFlags(uint32_t flags) { |
uint32_t layerFlags = 0; |