| Index: tests/ReadWriteAlphaTest.cpp
|
| diff --git a/tests/ReadWriteAlphaTest.cpp b/tests/ReadWriteAlphaTest.cpp
|
| index 630924aca69074bd5f73cac6a9210918a34b3d4e..16f43ea31070ab642ab238ad818da81e9efa5d38 100644
|
| --- a/tests/ReadWriteAlphaTest.cpp
|
| +++ b/tests/ReadWriteAlphaTest.cpp
|
| @@ -93,7 +93,8 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ReadWriteAlpha, reporter, ctxInfo) {
|
|
|
| // Now try writing on the single channel texture (if we could create as a RT).
|
| if (texture->asRenderTarget()) {
|
| - sk_sp<SkSurface> surf(SkSurface::MakeRenderTargetDirect(texture->asRenderTarget()));
|
| + sk_sp<SkSurface> surf(SkSurface::MakeRenderTargetDirect(texture->asRenderTarget(),
|
| + nullptr));
|
| SkCanvas* canvas = surf->getCanvas();
|
|
|
| SkPaint paint;
|
|
|