| Index: src/gpu/GrResourceProvider.cpp
|
| diff --git a/src/gpu/GrResourceProvider.cpp b/src/gpu/GrResourceProvider.cpp
|
| index a8c9e5a3c76ab67c5898b7bb0285a5beda043fe1..c9c1bc28f7b5b1d985a43c17637a1dfb21356970 100644
|
| --- a/src/gpu/GrResourceProvider.cpp
|
| +++ b/src/gpu/GrResourceProvider.cpp
|
| @@ -135,7 +135,8 @@ GrBatchAtlas* GrResourceProvider::createAtlas(GrPixelConfig config,
|
| if (!texture) {
|
| return nullptr;
|
| }
|
| - GrBatchAtlas* atlas = new GrBatchAtlas(texture, numPlotsX, numPlotsY);
|
| + GrBatchAtlas* atlas = new GrBatchAtlas(this, texture,
|
| + numPlotsX, numPlotsY);
|
| atlas->registerEvictionCallback(func, data);
|
| return atlas;
|
| }
|
|
|