Index: src/gpu/GrBatchAtlas.h |
diff --git a/src/gpu/GrBatchAtlas.h b/src/gpu/GrBatchAtlas.h |
index ce3e40aec4830a3a1deb3827ef3b17ac231d2249..96d229810b19d4bb249c2b8996849d1ca46dbeec 100644 |
--- a/src/gpu/GrBatchAtlas.h |
+++ b/src/gpu/GrBatchAtlas.h |
@@ -67,6 +67,11 @@ public: |
class BulkUseTokenUpdater { |
public: |
BulkUseTokenUpdater() : fPlotAlreadyUpdated(0) {} |
+ BulkUseTokenUpdater(const BulkUseTokenUpdater& that) |
+ : fPlotsToUpdate(that.fPlotsToUpdate) |
+ , fPlotAlreadyUpdated(that.fPlotAlreadyUpdated) { |
+ } |
+ |
void add(AtlasID id) { |
int index = GrBatchAtlas::GetIndexFromID(id); |
if (!this->find(index)) { |