aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkMask.cpp
diff options
context:
space:
mode:
authorGravatar mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-04-09 19:39:25 +0000
committerGravatar mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-04-09 19:39:25 +0000
commitd11f0e0173b349bfac3c98f6d32c10dc7e1ba1fa (patch)
tree5387fb3dabe83ae6d4164f79c3c60cf65696bbb8 /src/core/SkMask.cpp
parenteadc8072aaa8f6fc71f47cd41fab1ed3b4bc1c68 (diff)
coding style
git-svn-id: http://skia.googlecode.com/svn/trunk@1092 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkMask.cpp')
-rw-r--r--src/core/SkMask.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/SkMask.cpp b/src/core/SkMask.cpp
index 337204b418..34f122b9b9 100644
--- a/src/core/SkMask.cpp
+++ b/src/core/SkMask.cpp
@@ -45,16 +45,14 @@ size_t SkMask::computeTotalImageSize() const {
/** We explicitly use this allocator for SkBimap pixels, so that we can
freely assign memory allocated by one class to the other.
*/
-uint8_t* SkMask::AllocImage(size_t size)
-{
+uint8_t* SkMask::AllocImage(size_t size) {
return (uint8_t*)sk_malloc_throw(SkAlign4(size));
}
/** We explicitly use this allocator for SkBimap pixels, so that we can
freely assign memory allocated by one class to the other.
*/
-void SkMask::FreeImage(void* image)
-{
+void SkMask::FreeImage(void* image) {
sk_free(image);
}