Sanitizing source files in Skia_Periodic_House_Keeping

git-svn-id: http://skia.googlecode.com/svn/trunk@6721 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
skia.committer@gmail.com 2012-12-08 02:01:38 +00:00
parent f97593c899
commit c1f224ac07
5 changed files with 7 additions and 7 deletions

View 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;

View 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);

View 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;

View 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");

View 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
#endif