| Index: third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp b/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp
|
| index 0a0da75d79c602c5b6e54477c328722aa32c0da6..925d50559c6af280b9c3ea96c27de70515756b62 100644
|
| --- a/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp
|
| @@ -53,11 +53,11 @@ class ImageBitmapTest : public ::testing::Test {
|
| protected:
|
| virtual void SetUp()
|
| {
|
| - RefPtr<SkSurface> surface = adoptRef(SkSurface::NewRasterN32Premul(10, 10));
|
| + sk_sp<SkSurface> surface = SkSurface::MakeRasterN32Premul(10, 10);
|
| surface->getCanvas()->clear(0xFFFFFFFF);
|
| m_image = adoptRef(surface->newImageSnapshot());
|
|
|
| - RefPtr<SkSurface> surface2 = adoptRef(SkSurface::NewRasterN32Premul(5, 5));
|
| + sk_sp<SkSurface> surface2 = SkSurface::MakeRasterN32Premul(5, 5);
|
| surface2->getCanvas()->clear(0xAAAAAAAA);
|
| m_image2 = adoptRef(surface2->newImageSnapshot());
|
|
|
|
|