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

Unified Diff: tools/test_image_decoder.cpp

Issue 27230002: Runtime configuration setting for suppressing JPEG decoder errors. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rebase Created 7 years, 2 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
« no previous file with comments | « src/images/SkImageDecoder_libjpeg.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/test_image_decoder.cpp
diff --git a/tools/test_image_decoder.cpp b/tools/test_image_decoder.cpp
index 6c3556b993383a01c102531d5b35e202b85ec771..106cf782f252a7549e8948b92823c48cef2f12ef 100644
--- a/tools/test_image_decoder.cpp
+++ b/tools/test_image_decoder.cpp
@@ -21,6 +21,7 @@ int tool_main(int argc, char** argv) {
SkDebugf("Usage:\n %s imagefile\n\n", argv[0]);
return 3;
}
+ SkAutoGraphics ag; // Enable use of SkRTConfig
SkBitmap bitmap;
if (!(SkImageDecoder::DecodeFile(argv[1], &bitmap))) {
return 2;
« no previous file with comments | « src/images/SkImageDecoder_libjpeg.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698