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

Unified Diff: bench/DecodingBench.h

Issue 1044363002: Add timing SkCodec to nanobench. (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
Index: bench/DecodingBench.h
diff --git a/bench/DecodingBench.h b/bench/DecodingBench.h
index 80a474df323abafa2568b82443611ce7d3ff59ec..eab46e389804dbf1def348bcdc3b63dec3c417e9 100644
--- a/bench/DecodingBench.h
+++ b/bench/DecodingBench.h
@@ -5,6 +5,9 @@
* found in the LICENSE file.
*/
+#ifndef DecodingBench_DEFINED
+#define DecodingBench_DEFINED
+
#include "Benchmark.h"
#include "SkImageDecoder.h"
#include "SkImageInfo.h"
@@ -30,6 +33,6 @@ private:
SkString fName;
SkColorType fColorType;
SkAutoTDelete<SkMemoryStream> fStream;
- SkAutoTDelete<SkImageDecoder> fDecoder;
typedef Benchmark INHERITED;
};
+#endif // DecodingBench_DEFINED

Powered by Google App Engine
This is Rietveld 408576698