From f6fc4044098e06fc7980f1e8be38b63ec8a0b413 Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Thu, 1 Mar 2012 16:12:45 +0000 Subject: [PATCH] Remove ref in buffer alloc pool. git-svn-id: http://skia.googlecode.com/svn/trunk@3290 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/GrBufferAllocPool.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gpu/GrBufferAllocPool.cpp b/src/gpu/GrBufferAllocPool.cpp index d029471a9e..1d041f461c 100644 --- a/src/gpu/GrBufferAllocPool.cpp +++ b/src/gpu/GrBufferAllocPool.cpp @@ -47,7 +47,6 @@ GrBufferAllocPool::GrBufferAllocPool(GrGpu* gpu, GrGeometryBuffer* buffer = this->createBuffer(fMinBlockSize); if (NULL != buffer) { *fPreallocBuffers.append() = buffer; - buffer->ref(); } } }