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

Unified Diff: Source/web/ImageDecodeBench.cpp

Issue 1185933002: Remove deferred image decoding code from ImageDecodeBench (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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: Source/web/ImageDecodeBench.cpp
diff --git a/Source/web/ImageDecodeBench.cpp b/Source/web/ImageDecodeBench.cpp
index dca90e6d4ed593532c75d239e86b170bd472ea52..aba289453588028340a8c135e03a83fda4915f07 100644
--- a/Source/web/ImageDecodeBench.cpp
+++ b/Source/web/ImageDecodeBench.cpp
@@ -10,7 +10,7 @@ clocks to measure image decode time. Optionally applies color correction
during image decoding on supported platforms (default off). Usage:
% ninja -C /out/Release image_decode_bench &&
- ./out/Release/image_decode_beanch file [iterations]
+ ./out/Release/image_decode_bench file [iterations]
FIXME: Consider adding md5 checksum support to WTF. Use it to compute the
decoded image frame md5 and output that value.
@@ -28,14 +28,11 @@ http://crbug.com/398235#c103 and http://crbug.com/258324#c5
#include "config.h"
-#include "wtf/Threading.h"
#include "platform/SharedBuffer.h"
-#include "platform/graphics/DeferredImageDecoder.h"
#include "platform/image-decoders/ImageDecoder.h"
#include "public/platform/Platform.h"
#include "public/web/WebKit.h"
#include "wtf/OwnPtr.h"
-#include "wtf/PassOwnPtr.h"
#include "wtf/PassRefPtr.h"
#if defined(_WIN32)
@@ -351,7 +348,6 @@ int main(int argc, char* argv[])
// Set image decoding Platform options.
- DeferredImageDecoder::setEnabled(false); // Disable threaded image decodes.
#if USE(QCMSLIB)
ImageDecoder::qcmsOutputDeviceProfile(); // Initialize screen colorProfile.
#endif

Powered by Google App Engine
This is Rietveld 408576698