| Index: src/gpu/gl/SkNullGLContext.cpp
|
| diff --git a/src/gpu/gl/SkNullGLContext.cpp b/src/gpu/gl/SkNullGLContext.cpp
|
| index 1d67578cae1e369dee3fc375068446e004e4cdd7..c59fb98ad255f69d5b0c282de23b65ce95d7d93d 100644
|
| --- a/src/gpu/gl/SkNullGLContext.cpp
|
| +++ b/src/gpu/gl/SkNullGLContext.cpp
|
| @@ -19,7 +19,7 @@ static SkNullGLContext::ContextState* current_context();
|
|
|
| class BufferObj {
|
| public:
|
| - SK_DECLARE_INST_COUNT(BufferObj);
|
| +
|
|
|
| BufferObj(GrGLuint id) : fID(id), fDataPtr(NULL), fSize(0), fMapped(false) {}
|
| ~BufferObj() { SkDELETE_ARRAY(fDataPtr); }
|
| @@ -51,7 +51,7 @@ private:
|
| // This class maintains a sparsely populated array of buffer pointers.
|
| class BufferManager {
|
| public:
|
| - SK_DECLARE_INST_COUNT(BufferManager);
|
| +
|
|
|
| BufferManager() : fFreeListHead(kFreeListEnd) {}
|
|
|
| @@ -117,7 +117,7 @@ private:
|
| */
|
| class SkNullGLContext::ContextState : public SkRefCnt {
|
| public:
|
| - SK_DECLARE_INST_COUNT(ContextState);
|
| +
|
|
|
| BufferManager fBufferManager;
|
| GrGLuint fCurrArrayBuffer;
|
|
|