Index: cc/trees/layer_tree_host_impl_unittest.cc |
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc |
index 4a76309114cf314a754ffe36b6f0723fd1bf2505..8b8bfd779507107f083642e4b6f64fc76d3266f3 100644 |
--- a/cc/trees/layer_tree_host_impl_unittest.cc |
+++ b/cc/trees/layer_tree_host_impl_unittest.cc |
@@ -7753,8 +7753,7 @@ TEST_F(LayerTreeHostImplTest, CreateETC1UIResource) { |
// correct width/height are passed directly to UIResourceBitmap. |
SkImageInfo info = |
SkImageInfo::Make(4, 2, kAlpha_8_SkColorType, kPremul_SkAlphaType); |
- skia::RefPtr<SkPixelRef> pixel_ref = |
- skia::AdoptRef(SkMallocPixelRef::NewAllocate(info, 0, 0)); |
+ sk_sp<SkPixelRef> pixel_ref(SkMallocPixelRef::NewAllocate(info, 0, 0)); |
pixel_ref->setImmutable(); |
UIResourceBitmap bitmap(pixel_ref, size); |
UIResourceId ui_resource_id = 1; |