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

Unified Diff: tools/skdiff_image.cpp

Issue 1788643003: Remove uses of SkImageDecoder from skdiff (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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 | tools/skdiff_main.cpp » ('j') | tools/skdiff_main.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/skdiff_image.cpp
diff --git a/tools/skdiff_image.cpp b/tools/skdiff_image.cpp
index 9166988719447733a7989e18d3c61b06e1ac387b..f118d85b5c9abb8199d799fac0280e6c6ad60979 100644
--- a/tools/skdiff_image.cpp
+++ b/tools/skdiff_image.cpp
@@ -8,7 +8,6 @@
#include "skdiff_utils.h"
#include "SkBitmap.h"
#include "SkData.h"
-#include "SkImageDecoder.h"
#include "SkImageEncoder.h"
#include "SkOSFile.h"
#include "SkTDArray.h"
@@ -60,8 +59,8 @@ static void create_diff_images (DiffMetricProc dmp,
return;
}
- get_bitmap(baseFileBits, drp->fBase, SkImageDecoder::kDecodePixels_Mode);
- get_bitmap(comparisonFileBits, drp->fComparison, SkImageDecoder::kDecodePixels_Mode);
+ get_bitmap(baseFileBits, drp->fBase, false);
+ get_bitmap(comparisonFileBits, drp->fComparison, false);
if (DiffResource::kDecoded_Status != drp->fBase.fStatus ||
DiffResource::kDecoded_Status != drp->fComparison.fStatus)
{
« no previous file with comments | « no previous file | tools/skdiff_main.cpp » ('j') | tools/skdiff_main.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698