| Index: src/gpu/GrResourceProvider.cpp
|
| diff --git a/src/gpu/GrResourceProvider.cpp b/src/gpu/GrResourceProvider.cpp
|
| index 5fa4e4beacb4f2eac2715463d5d4de1f87b1560c..bd9cc9ac6b04d1845098b63f261c22b6c4e7919c 100644
|
| --- a/src/gpu/GrResourceProvider.cpp
|
| +++ b/src/gpu/GrResourceProvider.cpp
|
| @@ -164,9 +164,7 @@
|
| if (!texture) {
|
| return nullptr;
|
| }
|
| - GrBatchAtlas* atlas = new GrBatchAtlas(texture, numPlotsX, numPlotsY);
|
| - atlas->registerEvictionCallback(func, data);
|
| - return atlas;
|
| + return new GrBatchAtlas(texture, numPlotsX, numPlotsY);
|
| }
|
|
|
| GrStencilAttachment* GrResourceProvider::attachStencilAttachment(GrRenderTarget* rt) {
|
|
|