Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(718)

Unified Diff: src/core/SkPicture.cpp

Issue 176863004: Add new skpinfo tool (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: add missing file Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/core/SkPicture.cpp
===================================================================
--- src/core/SkPicture.cpp (revision 13626)
+++ src/core/SkPicture.cpp (working copy)
@@ -360,7 +360,7 @@
SkASSERT(sizeof(kMagic) == 8);
memcpy(header, kMagic, sizeof(kMagic));
- // Set piture info after magic bytes in the header
+ // Set picture info after magic bytes in the header
SkPictInfo* info = (SkPictInfo*)(((char*)header) + sizeof(kMagic));
info->fVersion = CURRENT_PICTURE_VERSION;
info->fWidth = fWidth;
@@ -382,7 +382,7 @@
}
char header[kHeaderSize];
- createHeader(&header);
+ this->createHeader(&header);
stream->write(header, kHeaderSize);
if (playback) {
stream->writeBool(true);
@@ -404,7 +404,7 @@
}
char header[kHeaderSize];
- createHeader(&header);
+ this->createHeader(&header);
buffer.writeByteArray(header, kHeaderSize);
if (playback) {
buffer.writeBool(true);

Powered by Google App Engine
This is Rietveld 408576698