aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/SKPBench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/SKPBench.cpp')
-rw-r--r--bench/SKPBench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/SKPBench.cpp b/bench/SKPBench.cpp
index 1d378b5046..add415dcb8 100644
--- a/bench/SKPBench.cpp
+++ b/bench/SKPBench.cpp
@@ -72,7 +72,7 @@ void SKPBench::onPerCanvasPreDraw(SkCanvas* canvas) {
for (int x = bounds.fLeft; x < bounds.fRight; x += tileW) {
const SkIRect tileRect = SkIRect::MakeXYWH(x, y, tileW, tileH);
*fTileRects.append() = tileRect;
- *fSurfaces.push() = canvas->newSurface(ii);
+ *fSurfaces.push() = canvas->makeSurface(ii).release();
// Never want the contents of a tile to include stuff the parent
// canvas clips out