| Index: src/record/SkRecordDraw.cpp
|
| diff --git a/src/record/SkRecordDraw.cpp b/src/record/SkRecordDraw.cpp
|
| index 21b2c7a82b33a630e4769554dfa444cc05c13890..74c9fadec44de210356a2a5af4656023eeabb2be 100644
|
| --- a/src/record/SkRecordDraw.cpp
|
| +++ b/src/record/SkRecordDraw.cpp
|
| @@ -83,8 +83,13 @@ template <> void Draw::draw(const SkRecords::NoOp&) {}
|
|
|
| #define DRAW(T, call) template <> void Draw::draw(const SkRecords::T& r) { fCanvas->call; }
|
| DRAW(Restore, restore());
|
| +#ifdef SK_SUPPORT_LEGACY_SAVEFLAGS
|
| DRAW(Save, save(r.flags));
|
| DRAW(SaveLayer, saveLayer(r.bounds, r.paint, r.flags));
|
| +#else
|
| +DRAW(Save, save());
|
| +DRAW(SaveLayer, saveLayer(r.bounds, r.paint));
|
| +#endif
|
| DRAW(PopCull, popCull());
|
| DRAW(PushCull, pushCull(r.rect));
|
| DRAW(Clear, clear(r.color));
|
|
|