Index: include/gpu/SkGrPixelRef.h |
diff --git a/include/gpu/SkGrPixelRef.h b/include/gpu/SkGrPixelRef.h |
index c29c27fb3bdc0b3d0963fcaa0fda82ef3d0285a1..d8933724fbb32b6b22567a305ad7ae1ce96499b6 100644 |
--- a/include/gpu/SkGrPixelRef.h |
+++ b/include/gpu/SkGrPixelRef.h |
@@ -1,4 +1,3 @@ |
- |
/* |
* Copyright 2010 Google Inc. |
* |
@@ -6,8 +5,6 @@ |
* found in the LICENSE file. |
*/ |
- |
- |
#ifndef SkGrPixelRef_DEFINED |
#define SkGrPixelRef_DEFINED |
@@ -23,7 +20,7 @@ |
*/ |
class SK_API SkROLockPixelsPixelRef : public SkPixelRef { |
public: |
- SkROLockPixelsPixelRef(); |
+ SkROLockPixelsPixelRef(const SkImageInfo&); |
virtual ~SkROLockPixelsPixelRef(); |
protected: |
@@ -47,7 +44,6 @@ public: |
* cache and would like the pixel ref to unlock it in its destructor then transferCacheLock |
* should be set to true. |
*/ |
- SkGrPixelRef(GrSurface*, bool transferCacheLock = false); |
SkGrPixelRef(const SkImageInfo&, GrSurface*, bool transferCacheLock = false); |
virtual ~SkGrPixelRef(); |