Index: include/core/SkMallocPixelRef.h |
diff --git a/include/core/SkMallocPixelRef.h b/include/core/SkMallocPixelRef.h |
index 2241a513e7ea223ac8ddeac340bf8f73ee92d2ca..1d199bcefc81c7b06db687c4d8f40e7b0ef8ab1b 100644 |
--- a/include/core/SkMallocPixelRef.h |
+++ b/include/core/SkMallocPixelRef.h |
@@ -16,6 +16,8 @@ |
so that we can freely assign memory allocated by one class to the other. |
*/ |
class SkMallocPixelRef : public SkPixelRef { |
+ typedef SkPixelRef INHERITED; |
+ |
public: |
/** Allocate the specified buffer for pixels. The memory is freed when the |
last owner of this pixelref is gone. If addr is NULL, sk_malloc_throw() |
@@ -43,8 +45,6 @@ private: |
size_t fSize; |
SkColorTable* fCTable; |
bool fOwnPixels; |
- |
- typedef SkPixelRef INHERITED; |
}; |