aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-12-13 02:01:33 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-12-13 02:01:33 +0000
commit306ab9d5de38f2a547fd1d69aedbe69b5c6617cc (patch)
tree050e5888100df4a8157fcc493e9153c28b28ffee /include/core
parentbfa0401ab60b83abf30c7cca4c326282360948fe (diff)
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6774 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkRRect.h2
-rw-r--r--include/core/SkWriter32.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/core/SkRRect.h b/include/core/SkRRect.h
index a900d4a2e5..eb2a770f62 100644
--- a/include/core/SkRRect.h
+++ b/include/core/SkRRect.h
@@ -222,7 +222,7 @@ public:
enum {
kSizeInMemory = 12 * sizeof(SkScalar)
};
-
+
/**
* Write the rrect into the specified buffer. This is guaranteed to always
* write kSizeInMemory bytes, and that value is guaranteed to always be
diff --git a/include/core/SkWriter32.h b/include/core/SkWriter32.h
index 9368126f4e..3f5a2433ed 100644
--- a/include/core/SkWriter32.h
+++ b/include/core/SkWriter32.h
@@ -109,11 +109,11 @@ public:
void writeRect(const SkRect& rect) {
*(SkRect*)this->reserve(sizeof(rect)) = rect;
}
-
+
void writeRRect(const SkRRect& rrect) {
rrect.writeToMemory(this->reserve(SkRRect::kSizeInMemory));
}
-
+
void writePath(const SkPath& path) {
size_t size = path.writeToMemory(NULL);
SkASSERT(SkAlign4(size) == size);