we have no subclasses, so change protected to private.
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 16 Aug 2012 16:46:27 +0000 (16:46 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 16 Aug 2012 16:46:27 +0000 (16:46 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@5131 2bbb7eff-a529-9590-31e7-b0007b416f81

src/core/SkBuffer.h

index 7a63d3a..34159ab 100644 (file)
@@ -74,7 +74,7 @@ public:
     uint8_t     readU8() { uint8_t x; read(&x, 1); return x; }
     bool        readBool() { return this->readU8() != 0; }
 
-protected:
+private:
     void    readNoSizeCheck(void* buffer, size_t size);
 
     const char* fData;
@@ -127,7 +127,7 @@ public:
     void    write8(int8_t x) { this->writeNoSizeCheck(&x, 1); }
     void    writeBool(bool x) { this->write8(x); }
 
-protected:
+private:
     void    writeNoSizeCheck(const void* buffer, size_t size);
 
     char* fData;