diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-12-16 07:01:40 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-12-16 07:01:40 +0000 |
commit | 96f5fa02e996e39179f2eb88d57e8ed6114b06c5 (patch) | |
tree | 1ab0c0cdc0d3878996c03e0b8e27ba39186cff8a /include | |
parent | 4f3c305a5bf635dd720cad24f587167e576f2170 (diff) |
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@12685 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkMallocPixelRef.h | 2 | ||||
-rw-r--r-- | include/core/SkPathRef.h | 20 | ||||
-rw-r--r-- | include/core/SkPixelRef.h | 2 |
3 files changed, 12 insertions, 12 deletions
diff --git a/include/core/SkMallocPixelRef.h b/include/core/SkMallocPixelRef.h index ba0b953cf6..a547ddb2b9 100644 --- a/include/core/SkMallocPixelRef.h +++ b/include/core/SkMallocPixelRef.h @@ -44,7 +44,7 @@ public: */ static SkMallocPixelRef* NewAllocate(const SkImageInfo& info, size_t rowBytes, SkColorTable*); - + void* getAddr() const { return fStorage; } SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkMallocPixelRef) diff --git a/include/core/SkPathRef.h b/include/core/SkPathRef.h index c55f54929b..53584207b4 100644 --- a/include/core/SkPathRef.h +++ b/include/core/SkPathRef.h @@ -79,12 +79,12 @@ public: * requisite points & weights. * The return pointer points at the first new point (indexed normally [<i>]). * If 'verb' is kConic_Verb, 'weights' will return a pointer to the - * space for the conic weights (indexed normally). + * space for the conic weights (indexed normally). */ - SkPoint* growForRepeatedVerb(int /*SkPath::Verb*/ verb, - int numVbs, - SkScalar** weights = NULL) { - return fPathRef->growForRepeatedVerb(verb, numVbs, weights); + SkPoint* growForRepeatedVerb(int /*SkPath::Verb*/ verb, + int numVbs, + SkScalar** weights = NULL) { + return fPathRef->growForRepeatedVerb(verb, numVbs, weights); } /** @@ -353,8 +353,8 @@ private: } /** - * Increases the verb count by numVbs and point count by the required amount. - * The new points are uninitialized. All the new verbs are set to the specified + * Increases the verb count by numVbs and point count by the required amount. + * The new points are uninitialized. All the new verbs are set to the specified * verb. If 'verb' is kConic_Verb, 'weights' will return a pointer to the * uninitialized conic weights. */ @@ -426,10 +426,10 @@ private: void setIsOval(bool isOval) { fIsOval = isOval; } - SkPoint* getPoints() { - SkDEBUGCODE(this->validate();) + SkPoint* getPoints() { + SkDEBUGCODE(this->validate();) fIsOval = false; - return fPoints; + return fPoints; } enum { diff --git a/include/core/SkPixelRef.h b/include/core/SkPixelRef.h index 4369e5d537..1a6c6f8080 100644 --- a/include/core/SkPixelRef.h +++ b/include/core/SkPixelRef.h @@ -244,7 +244,7 @@ protected: acquire a mutex for thread safety, so this method need not do that. */ virtual void* onLockPixels(SkColorTable**) = 0; - + /** * Called when the lock count goes from 1 to 0. The caller will have * already acquire a mutex for thread safety, so this method need not do |