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

Unified Diff: tools/skdiff_utils.h

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
Index: tools/skdiff_utils.h
diff --git a/tools/skdiff_utils.h b/tools/skdiff_utils.h
index 8b94117eef591013147cac84fb69f6e2b7757e5f..ae7d51a1d2ce765f950f781d40ff73c6e1b5c048 100644
--- a/tools/skdiff_utils.h
+++ b/tools/skdiff_utils.h
@@ -9,7 +9,6 @@
#define skdiff_utils_DEFINED
#include "skdiff.h"
-#include "SkImageDecoder.h"
class SkBitmap;
class SkData;
@@ -26,7 +25,7 @@ bool are_buffers_equal(SkData* skdata1, SkData* skdata2);
SkData* read_file(const char* file_path);
/** Decodes the fileBits into the resource.fBitmap. Returns false on failure. */
-bool get_bitmap(SkData* fileBits, DiffResource& resource, SkImageDecoder::Mode mode);
+bool get_bitmap(SkData* fileBits, DiffResource& resource, bool sizeOnly);
/** Writes the bitmap as a PNG to the path specified. */
bool write_bitmap(const SkString& path, const SkBitmap& bitmap);
« tools/skdiff_main.cpp ('K') | « tools/skdiff_main.cpp ('k') | tools/skdiff_utils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698