Index: cc/trees/layer_tree_host_pixeltest_tiles.cc |
diff --git a/cc/trees/layer_tree_host_pixeltest_tiles.cc b/cc/trees/layer_tree_host_pixeltest_tiles.cc |
index 9a649dcece9c5b4cac4512193d45d33d9b84db9f..b569208f018825fa9a39eac55878ddd0ea154437 100644 |
--- a/cc/trees/layer_tree_host_pixeltest_tiles.cc |
+++ b/cc/trees/layer_tree_host_pixeltest_tiles.cc |
@@ -115,8 +115,8 @@ class BlueYellowClient : public ContentLayerClient { |
DisplayItemList::Create(settings); |
SkPictureRecorder recorder; |
- sk_sp<SkCanvas> canvas = |
- sk_ref_sp(recorder.beginRecording(gfx::RectToSkRect(gfx::Rect(size_)))); |
+ SkCanvas* canvas = |
+ recorder.beginRecording(gfx::RectToSkRect(gfx::Rect(size_))); |
gfx::Rect top(0, 0, size_.width(), size_.height() / 2); |
gfx::Rect bottom(0, size_.height() / 2, size_.width(), size_.height() / 2); |