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

Unified Diff: bench/nanobench.cpp

Issue 1058633002: nanobench does not need to handle failed rewind. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/nanobench.cpp
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp
index a627b50a3a221ed0523c18176711bf7bfaca9cca..701128f631f8ad887da39190cb8d5eafd6a00d92 100644
--- a/bench/nanobench.cpp
+++ b/bench/nanobench.cpp
@@ -661,10 +661,6 @@ public:
case SkImageGenerator::kInvalidConversion:
// This is okay. Not all conversions are valid.
break;
- case SkImageGenerator::kCouldNotRewind:
- // FIXME: This is due to a bug in some implementations
- // of SkCodec. All should support rewinding.
- break;
default:
// This represents some sort of failure.
SkASSERT(false);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698