| Index: bench/DisplacementBench.cpp
|
| diff --git a/bench/DisplacementBench.cpp b/bench/DisplacementBench.cpp
|
| index c22b8fd2d14b776db1f53b4348618862cadf343e..eadafb662207f06ecd2792effb6b3c508048576d 100644
|
| --- a/bench/DisplacementBench.cpp
|
| +++ b/bench/DisplacementBench.cpp
|
| @@ -48,7 +48,7 @@ protected:
|
| void makeCheckerboard() {
|
| const int w = this->isSmall() ? FILTER_WIDTH_SMALL : FILTER_WIDTH_LARGE;
|
| const int h = this->isSmall() ? FILTER_HEIGHT_LARGE : FILTER_HEIGHT_LARGE;
|
| - SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterN32Premul(w, h));
|
| + auto surface(SkSurface::MakeRasterN32Premul(w, h));
|
| SkCanvas* canvas = surface->getCanvas();
|
| canvas->clear(0x00000000);
|
| SkPaint darkPaint;
|
|
|