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

Unified Diff: third_party/WebKit/Source/platform/testing/ImageDecodeBench.cpp

Issue 2426723005: Use SkColorSpaceXform to handle color conversions in decoders (Closed)
Patch Set: Remove ifdefs - fixes blink_platform_unittests Created 4 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
Index: third_party/WebKit/Source/platform/testing/ImageDecodeBench.cpp
diff --git a/third_party/WebKit/Source/platform/testing/ImageDecodeBench.cpp b/third_party/WebKit/Source/platform/testing/ImageDecodeBench.cpp
index 6abf29524d33e0059a628e4f5900aaa3547f278d..8aa6b4a00b523327313f82aed2798e377cf63bf4 100644
--- a/third_party/WebKit/Source/platform/testing/ImageDecodeBench.cpp
+++ b/third_party/WebKit/Source/platform/testing/ImageDecodeBench.cpp
@@ -309,7 +309,6 @@ int main(int argc, char* argv[]) {
bool applyColorCorrection = false;
-#if USE(QCMSLIB)
if (argc >= 2 && strcmp(argv[1], "--color-correct") == 0)
applyColorCorrection = (--argc, ++argv, true);
@@ -319,12 +318,6 @@ int main(int argc, char* argv[]) {
argv[0]);
exit(1);
}
-#else
- if (argc < 2) {
- fprintf(stderr, "Usage: %s file [iterations] [packetSize]\n", argv[0]);
- exit(1);
- }
-#endif
// Control decode bench iterations and packet size.

Powered by Google App Engine
This is Rietveld 408576698