| Index: samplecode/SampleTextureDomain.cpp
|
| diff --git a/samplecode/SampleTextureDomain.cpp b/samplecode/SampleTextureDomain.cpp
|
| index 2c6dd64301fca576da0e1a29a661f7b3d44df460..59d0822b44c60cca183eac0618b4e843f1a15ed2 100644
|
| --- a/samplecode/SampleTextureDomain.cpp
|
| +++ b/samplecode/SampleTextureDomain.cpp
|
| @@ -60,7 +60,7 @@ protected:
|
| // Note: GPU-backed bitmaps follow a different rendering path
|
| // when copying from one GPU device to another.
|
| SkImageInfo info = SkImageInfo::MakeN32(5, 5, kOpaque_SkAlphaType);
|
| - SkAutoTUnref<SkSurface> surface(canvas->newSurface(info));
|
| + auto surface(canvas->makeSurface(info));
|
|
|
| srcRect.setXYWH(1, 1, 3, 3);
|
| dstRect.setXYWH(1, 1, 3, 3);
|
|
|