aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-03-01 16:12:45 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-03-01 16:12:45 +0000
commitf6fc4044098e06fc7980f1e8be38b63ec8a0b413 (patch)
tree5de2005265daae450123753aeca3cc7727ede8c4
parent5ffd5baeef9d5537e8b7e2e1d256ac669d46559b (diff)
Remove ref in buffer alloc pool.
git-svn-id: http://skia.googlecode.com/svn/trunk@3290 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--src/gpu/GrBufferAllocPool.cpp1
1 files changed, 0 insertions, 1 deletions
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();
}
}
}