Index: bench/SKPBench.cpp |
diff --git a/bench/SKPBench.cpp b/bench/SKPBench.cpp |
index 1d378b5046267ed5bd8c9ca89ab8abc4761b255e..add415dcb85404e048642db59fa14607968d2cb3 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 |