| Index: tests/PictureTest.cpp
|
| diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp
|
| index 45a0505773e66d6e2ee863ff3dab0ba4df975560..fdb2de494846fcb4f2ba1de5b4079b7c6635c984 100644
|
| --- a/tests/PictureTest.cpp
|
| +++ b/tests/PictureTest.cpp
|
| @@ -559,10 +559,9 @@ public:
|
| , fRestoreCount(0){
|
| }
|
|
|
| - virtual SaveLayerStrategy willSaveLayer(const SkRect* bounds, const SkPaint* paint,
|
| - SaveFlags flags) override {
|
| + SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec& rec) override {
|
| ++fSaveLayerCount;
|
| - return this->INHERITED::willSaveLayer(bounds, paint, flags);
|
| + return this->INHERITED::getSaveLayerStrategy(rec);
|
| }
|
|
|
| void willSave() override {
|
|
|