From: skia.committer@gmail.com Date: Sat, 8 Dec 2012 02:01:38 +0000 (+0000) Subject: Sanitizing source files in Skia_Periodic_House_Keeping X-Git-Tag: accepted/tizen/5.0/unified/20181102.025319~14109 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c1f224ac07b1310211e0219a4d6bda41e49abe90;p=platform%2Fupstream%2FlibSkiaSharp.git Sanitizing source files in Skia_Periodic_House_Keeping git-svn-id: http://skia.googlecode.com/svn/trunk@6721 2bbb7eff-a529-9590-31e7-b0007b416f81 --- diff --git a/debugger/QT/SkDebuggerGUI.cpp b/debugger/QT/SkDebuggerGUI.cpp index b301fce..48e14e2 100644 --- a/debugger/QT/SkDebuggerGUI.cpp +++ b/debugger/QT/SkDebuggerGUI.cpp @@ -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; diff --git a/src/core/SkWriter32.cpp b/src/core/SkWriter32.cpp index ce240c2..4bb83b3 100644 --- a/src/core/SkWriter32.cpp +++ b/src/core/SkWriter32.cpp @@ -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); diff --git a/tools/filtermain.cpp b/tools/filtermain.cpp index 28020cd..c1b2040 100644 --- a/tools/filtermain.cpp +++ b/tools/filtermain.cpp @@ -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; diff --git a/tools/path_utils.cpp b/tools/path_utils.cpp index 217554d..b1dad34 100644 --- a/tools/path_utils.cpp +++ b/tools/path_utils.cpp @@ -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"); diff --git a/tools/path_utils.h b/tools/path_utils.h index d459611..d05ad16 100644 --- a/tools/path_utils.h +++ b/tools/path_utils.h @@ -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