commit | d07cb0c0370de521169500c26b8d534a001cf580 | [log] [tgz] |
---|---|---|
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Aug 30 19:22:29 2012 +0000 |
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Aug 30 19:22:29 2012 +0000 |
tree | f81a7244480fa7c80f7601f8c582a4f03fa37ece | |
parent | 868a8e7fc83e9ac6ee1418e75b84a0595605626c [diff] [blame] |
Begin moving locking out of GrResourceCache http://codereview.appspot.com/6498064/ git-svn-id: http://skia.googlecode.com/svn/trunk@5354 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/SkGrPixelRef.cpp b/src/gpu/SkGrPixelRef.cpp index b7a0765..bb36d32 100644 --- a/src/gpu/SkGrPixelRef.cpp +++ b/src/gpu/SkGrPixelRef.cpp
@@ -108,7 +108,7 @@ SkGrPixelRef::~SkGrPixelRef() { if (fUnlock) { GrContext* context = fSurface->getContext(); - GrTexture* texture= fSurface->asTexture(); + GrTexture* texture = fSurface->asTexture(); if (NULL != context && NULL != texture) { context->unlockTexture(texture); }