| Index: src/image/SkSurface_Gpu.cpp
|
| diff --git a/src/image/SkSurface_Gpu.cpp b/src/image/SkSurface_Gpu.cpp
|
| index fa3781476fb4c41d802c4183de26868aa13f4184..8d5601d01c612bcf287818a3727612b7d4d7c79c 100644
|
| --- a/src/image/SkSurface_Gpu.cpp
|
| +++ b/src/image/SkSurface_Gpu.cpp
|
| @@ -34,8 +34,6 @@ static GrRenderTarget* prepare_rt_for_external_access(SkSurface_Gpu* surface,
|
| case SkSurface::kDiscardWrite_BackendHandleAccess:
|
| // for now we don't special-case on Discard, but we may in the future.
|
| surface->notifyContentWillChange(SkSurface::kRetain_ContentChangeMode);
|
| - // legacy: need to dirty the bitmap's genID in our device (curse it)
|
| - surface->getDevice()->accessBitmap(false).notifyPixelsChanged();
|
| break;
|
| }
|
|
|
|
|