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

Unified Diff: tools/skpinfo.cpp

Issue 770703002: Bump min picture version. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: TODO Created 6 years, 1 month 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
« no previous file with comments | « src/effects/gradients/SkTwoPointConicalGradient.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/skpinfo.cpp
diff --git a/tools/skpinfo.cpp b/tools/skpinfo.cpp
index 55229650f365297b39a73d3d9de12d56d9323732..c7fd8c870885a6a56ac59a7c4f288b51edaaf4ee 100644
--- a/tools/skpinfo.cpp
+++ b/tools/skpinfo.cpp
@@ -59,8 +59,8 @@ int tool_main(int argc, char** argv) {
SkDebugf("Version: %d\n", info.fVersion);
}
if (FLAGS_cullRect && !FLAGS_quiet) {
- SkDebugf("Cull Rect: %f,%f,%f,%f\n",
- info.fCullRect.fLeft, info.fCullRect.fTop,
+ SkDebugf("Cull Rect: %f,%f,%f,%f\n",
+ info.fCullRect.fLeft, info.fCullRect.fTop,
info.fCullRect.fRight, info.fCullRect.fBottom);
}
if (FLAGS_flags && !FLAGS_quiet) {
@@ -106,15 +106,6 @@ int tool_main(int argc, char** argv) {
if (FLAGS_tags && !FLAGS_quiet) {
SkDebugf("SK_PICT_FACTORY_TAG %d\n", chunkSize);
}
- // Remove this code when v21 and below are no longer supported
-#ifndef DISABLE_V21_COMPATIBILITY_CODE
- if (info.fVersion < 22) {
- if (!FLAGS_quiet) {
- SkDebugf("Exiting early due to format limitations\n");
- }
- return kSuccess; // TODO: need to store size in bytes
- }
-#endif
break;
case SK_PICT_TYPEFACE_TAG:
if (FLAGS_tags && !FLAGS_quiet) {
« no previous file with comments | « src/effects/gradients/SkTwoPointConicalGradient.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698