| Index: tests/CanvasTest.cpp
|
| diff --git a/tests/CanvasTest.cpp b/tests/CanvasTest.cpp
|
| index 217cf0349e4751dfc883758bb4e808a25fe3286f..5d6a8d8a6fff09563d9350c8cb64ce9301edc30d 100644
|
| --- a/tests/CanvasTest.cpp
|
| +++ b/tests/CanvasTest.cpp
|
| @@ -687,13 +687,13 @@ public:
|
| // are flattened during the second execution
|
| testStep->setAssertMessageFormat(kPictureDrawAssertMessageFormat);
|
| SkPictureRecorder referenceRecorder;
|
| - SkCanvas* referenceCanvas = referenceRecorder.beginRecording(kWidth, kHeight,
|
| - NULL, recordFlags);
|
| + SkCanvas* referenceCanvas =
|
| + referenceRecorder.DEPRECATED_beginRecording(kWidth, kHeight, NULL, recordFlags);
|
| testStep->draw(referenceCanvas, reporter);
|
|
|
| SkPictureRecorder testRecorder;
|
| - SkCanvas* testCanvas = testRecorder.beginRecording(kWidth, kHeight,
|
| - NULL, recordFlags);
|
| + SkCanvas* testCanvas =
|
| + testRecorder.DEPRECATED_beginRecording(kWidth, kHeight, NULL, recordFlags);
|
| testStep->draw(testCanvas, reporter);
|
| testStep->setAssertMessageFormat(kPictureSecondDrawAssertMessageFormat);
|
| testStep->draw(testCanvas, reporter);
|
|
|