Sanitizing source files in Skia_Periodic_House_Keeping
authorskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Sat, 8 Dec 2012 02:01:38 +0000 (02:01 +0000)
committerskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Sat, 8 Dec 2012 02:01:38 +0000 (02:01 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@6721 2bbb7eff-a529-9590-31e7-b0007b416f81

debugger/QT/SkDebuggerGUI.cpp
src/core/SkWriter32.cpp
tools/filtermain.cpp
tools/path_utils.cpp
tools/path_utils.h

index b301fce..48e14e2 100644 (file)
@@ -358,7 +358,7 @@ void SkDebuggerGUI::actionProfile() {
     }
 
     bool success = false;
-    SkTimedPicture picture(&inputStream, &success, &SkImageDecoder::DecodeStream, 
+    SkTimedPicture picture(&inputStream, &success, &SkImageDecoder::DecodeStream,
                            fOffsets, fSkipCommands);
     if (!success) {
         return;
index ce240c2..4bb83b3 100644 (file)
@@ -159,7 +159,7 @@ uint32_t* SkWriter32::peek32(size_t offset) {
     if (offset >= fWrittenBeforeLastBlock) {
         return fTail->peek32(offset - fWrittenBeforeLastBlock);
     }
-    
+
     Block* block = fHead;
     SkASSERT(NULL != block);
 
index 28020cd..c1b2040 100644 (file)
@@ -140,7 +140,7 @@ static bool PNGEncodeBitmapToStream(SkWStream* stream, const SkBitmap& bitmap) {
     return SkImageEncoder::EncodeStream(stream, bitmap, SkImageEncoder::kPNG_Type, 100);
 }
 
-int filter_picture(const SkString& inFile, const SkString& outFile, 
+int filter_picture(const SkString& inFile, const SkString& outFile,
                    const SkString& textureDir, SkFILEWStream *pathStream) {
     SkPicture* inPicture = NULL;
 
index 217554d..b1dad34 100644 (file)
@@ -16,7 +16,7 @@ namespace sk_tools {
         if (NULL == pathStream) {
             return;
         }
+
         pathStream->writeText("#include \"SkScalar.h\"\n");
         pathStream->writeText("#include \"SkPoint.h\"\n");
         pathStream->writeText("#include \"SkBitmap.h\"\n");
@@ -81,7 +81,7 @@ namespace sk_tools {
         pathStream->writeText(" = ");
         pathStream->writeDecAsText(numVerbs);
         pathStream->writeText(";\n");
-            
+
         pathStream->writeText("uint8_t verbs");
         pathStream->writeDecAsText(gCurPathID);
         pathStream->writeText("[] = {\n");
index d459611..d05ad16 100644 (file)
@@ -19,7 +19,7 @@ namespace sk_tools {
     //      dump_path_suffix - once per program invocation
     //
     // The output system relies on a global current path ID and assumes that
-    // only one set of aggregation arrays will be written per program 
+    // only one set of aggregation arrays will be written per program
     // invocation. These utilities are not thread safe.
 
     // Write of the headers needed to compile the resulting .cpp file
@@ -44,4 +44,4 @@ namespace sk_tools {
     void dump_path_suffix(SkFILEWStream* pathStream);
 }
 
-#endif
\ No newline at end of file
+#endif