| Index: src/record/SkRecordOpts.cpp
|
| diff --git a/src/record/SkRecordOpts.cpp b/src/record/SkRecordOpts.cpp
|
| index 3cf135fb7eeedffbc7510a70b54e1c17491f7a5a..bd2935cee5a16b5f28a38c10697088c8837b523d 100644
|
| --- a/src/record/SkRecordOpts.cpp
|
| +++ b/src/record/SkRecordOpts.cpp
|
| @@ -73,7 +73,11 @@ DOESNT_DRAW(PopCull)
|
|
|
| template <>
|
| void SaveRestoreNooper::operator()(SkRecords::Save* r) {
|
| - fSave = SkCanvas::kMatrixClip_SaveFlag == r->flags ? this->index() : kInactive;
|
| + fSave =
|
| +#ifdef SK_SUPPORT_LEGACY_SAVEFLAGS
|
| + SkCanvas::kMatrixClip_SaveFlag != r->flags ? kInactive :
|
| +#endif
|
| + this->index();
|
| }
|
|
|
| template <>
|
|
|