| Index: src/gpu/GrBufferAllocPool.h
|
| diff --git a/src/gpu/GrBufferAllocPool.h b/src/gpu/GrBufferAllocPool.h
|
| index bbcb8a5d7c73ee95c63099b3020914c244664884..a3d8e45364295cc0e55f58684373ee0e61b76e9b 100644
|
| --- a/src/gpu/GrBufferAllocPool.h
|
| +++ b/src/gpu/GrBufferAllocPool.h
|
| @@ -107,10 +107,10 @@ private:
|
| void destroyBlock();
|
| void deleteBlocks();
|
| void flushCpuData(const BufferBlock& block, size_t flushSize);
|
| + void* resetCpuData(size_t newSize);
|
| #ifdef SK_DEBUG
|
| void validate(bool unusedBlockAllowed = false) const;
|
| #endif
|
| -
|
| size_t fBytesInUse;
|
|
|
| GrGpu* fGpu;
|
| @@ -118,7 +118,7 @@ private:
|
| BufferType fBufferType;
|
|
|
| SkTArray<BufferBlock> fBlocks;
|
| - SkAutoMalloc fCpuData;
|
| + void* fCpuData;
|
| void* fBufferPtr;
|
| size_t fGeometryBufferMapThreshold;
|
| };
|
|
|