Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@13181 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h
index af0c8b8..5d6e3ba 100644
--- a/include/core/SkBitmap.h
+++ b/include/core/SkBitmap.h
@@ -257,7 +257,7 @@
* On failure, the bitmap will be set to empty and return false.
*/
bool allocPixels(const SkImageInfo&, SkPixelRefFactory*, SkColorTable*);
-
+
/**
* Allocate a pixelref to match the specified image info, using the default
* allocator.
@@ -267,7 +267,7 @@
bool allocPixels(const SkImageInfo& info) {
return this->allocPixels(info, NULL, NULL);
}
-
+
/**
* Install a pixelref that wraps the specified pixels and rowBytes, and
* optional ReleaseProc and context. When the pixels are no longer
@@ -278,7 +278,7 @@
bool installPixels(const SkImageInfo&, void* pixels, size_t rowBytes,
void (*ReleaseProc)(void* addr, void* context),
void* context);
-
+
/**
* If the bitmap's config can be represented as SkImageInfo, return true,
* and if info is not-null, set it to the bitmap's info. If it cannot be
diff --git a/include/gpu/GrTextContext.h b/include/gpu/GrTextContext.h
index e2d7d9b..1539df0 100644
--- a/include/gpu/GrTextContext.h
+++ b/include/gpu/GrTextContext.h
@@ -55,7 +55,7 @@
class ManagedTextContext : public TextContextClass {
public:
~ManagedTextContext() {}
-
+
ManagedTextContext(GrContext* context,
const GrPaint& grPaint,
const SkPaint& skPaint,
@@ -77,7 +77,7 @@
GrTTextContextManager<TextContextClass>* fManager;
};
-
+
public:
GrTTextContextManager() {
fAllocation = sk_malloc_throw(sizeof(ManagedTextContext));
diff --git a/src/core/SkBitmap.cpp b/src/core/SkBitmap.cpp
index 9227906..f4a001a 100644
--- a/src/core/SkBitmap.cpp
+++ b/src/core/SkBitmap.cpp
@@ -488,7 +488,7 @@
bool SkBitmap::allocPixels(Allocator* allocator, SkColorTable* ctable) {
HeapAllocator stdalloc;
-
+
if (NULL == allocator) {
allocator = &stdalloc;
}
@@ -515,7 +515,7 @@
if (NULL == factory) {
factory = &defaultFactory;
}
-
+
SkPixelRef* pr = factory->create(info, ctable);
if (NULL == pr) {
return reset_return_false(this);
diff --git a/src/core/SkMallocPixelRef.cpp b/src/core/SkMallocPixelRef.cpp
index fae10c4..9adcd34 100644
--- a/src/core/SkMallocPixelRef.cpp
+++ b/src/core/SkMallocPixelRef.cpp
@@ -245,4 +245,3 @@
SkColorTable* ctable) {
return SkMallocPixelRef::NewAllocate(info, info.minRowBytes(), ctable);
}
-
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
index 0e91182..73eb65b 100644
--- a/src/gpu/SkGpuDevice.cpp
+++ b/src/gpu/SkGpuDevice.cpp
@@ -291,7 +291,7 @@
if (fDrawProcs) {
delete fDrawProcs;
}
-
+
delete fTextContextManager;
// The GrContext takes a ref on the target. We don't want to cause the render
@@ -1880,11 +1880,11 @@
SkAutoTDelete<GrTextContext> context(fTextContextManager->create(fContext, grPaint, paint));
GrDistanceFieldTextContext* dfContext =
static_cast<GrDistanceFieldTextContext*>(context.get());
-
+
SkAutoGlyphCache autoCache(dfContext->getSkPaint(), &this->fLeakyProperties, NULL);
SkGlyphCache* cache = autoCache.getCache();
GrFontScaler* fontScaler = get_gr_font_scaler(cache);
-
+
dfContext->drawPosText((const char *)text, byteLength, pos, constY, scalarsPerPos,
cache, fontScaler);
#endif