| 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 3c2bb86d4eafac31e5f28699acbe40dca7dd15c8..70224489699272f22ea175b3322ccfb86c55aac2 100644
|
| --- a/cc/trees/layer_tree_host_impl_unittest.cc
|
| +++ b/cc/trees/layer_tree_host_impl_unittest.cc
|
| @@ -7754,8 +7754,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;
|
|
|