Index: skia/ext/analysis_canvas_unittest.cc |
diff --git a/skia/ext/analysis_canvas_unittest.cc b/skia/ext/analysis_canvas_unittest.cc |
index f64722a5dec95354aeb3255396d9f3bb9c6db86c..9d9eb1c772622c7b461e3828a56310929c199cc5 100644 |
--- a/skia/ext/analysis_canvas_unittest.cc |
+++ b/skia/ext/analysis_canvas_unittest.cc |
@@ -329,7 +329,7 @@ TEST(AnalysisCanvasTest, EarlyOutNotSolid) { |
SkPictureRecorder recorder; |
// Create a picture with 3 commands, last of which is non-solid. |
- sk_sp<SkCanvas> record_canvas = sk_ref_sp(recorder.beginRecording(256, 256, &factory)); |
+ SkCanvas* record_canvas = recorder.beginRecording(256, 256, &factory); |
std::string text = "text"; |
SkPoint point = SkPoint::Make(SkIntToScalar(25), SkIntToScalar(25)); |