aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-01-04 07:01:40 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-01-04 07:01:40 +0000
commit98272d91421c52211e0e0137f494c1cad01c3c68 (patch)
tree94f2eadf9c24ffc3c755a43feac4a31fe951d083 /include/core
parent7b6d4d6783207148cc0c836caa1283991ed0093d (diff)
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@12901 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkPixelRef.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkPixelRef.h b/include/core/SkPixelRef.h
index a332b76a5d..4811435721 100644
--- a/include/core/SkPixelRef.h
+++ b/include/core/SkPixelRef.h
@@ -77,14 +77,14 @@ public:
void* fPixels;
SkColorTable* fColorTable;
size_t fRowBytes;
-
+
void zero() { sk_bzero(this, sizeof(*this)); }
bool isZero() const {
return NULL == fPixels && NULL == fColorTable && 0 == fRowBytes;
}
};
-
+
/**
* Returns true if the lockcount > 0
*/