Index: src/gpu/GrResourceProvider.cpp |
diff --git a/src/gpu/GrResourceProvider.cpp b/src/gpu/GrResourceProvider.cpp |
index 922e5be320daaf70d00bae144e3e1370a5c948e9..9a2fff31418eb5b53610eb7d75ab8b865b3bc7f6 100644 |
--- a/src/gpu/GrResourceProvider.cpp |
+++ b/src/gpu/GrResourceProvider.cpp |
@@ -139,8 +139,7 @@ |
if (!texture) { |
return nullptr; |
} |
- GrBatchAtlas* atlas = new GrBatchAtlas(this, texture, |
- numPlotsX, numPlotsY); |
+ GrBatchAtlas* atlas = new GrBatchAtlas(texture, numPlotsX, numPlotsY); |
atlas->registerEvictionCallback(func, data); |
return atlas; |
} |