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

Unified Diff: src/core/SkPicture.cpp

Issue 20806003: Plumb in "bleed" flag (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: trying again after timeout Created 7 years, 5 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 10408)
+++ src/core/SkPicture.cpp (working copy)
@@ -273,7 +273,11 @@
if (!stream->read(&info, sizeof(SkPictInfo))) {
return false;
}
- if (PICTURE_VERSION != info.fVersion) {
+ if (PICTURE_VERSION != info.fVersion
+#ifndef DELETE_THIS_CODE_WHEN_SKPS_ARE_REBUILT_AT_V13_AND_ALL_OTHER_INSTANCES_TOO
+ && PRIOR_PICTURE_VERSION != info.fVersion // TODO: remove when .skps regenerated
+#endif
+ ) {
return false;
}
« no previous file with comments | « src/core/SkDevice.cpp ('k') | src/core/SkPicturePlayback.cpp » ('j') | src/pipe/SkGPipePriv.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698