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

Unified Diff: src/codec/SkCodec.cpp

Issue 1459473007: Updates the gyp file. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Updates the Raw Codec prototype. Created 5 years, 1 month 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: src/codec/SkCodec.cpp
diff --git a/src/codec/SkCodec.cpp b/src/codec/SkCodec.cpp
index 071a4b837121301a34edce31dc51f96bd05e30bc..c6254c49407d8a2888f2212448791b8aa98a02ab 100644
--- a/src/codec/SkCodec.cpp
+++ b/src/codec/SkCodec.cpp
@@ -18,6 +18,7 @@
#endif
#include "SkStream.h"
#include "SkWebpCodec.h"
+#include "SkRawCodec.h"
struct DecoderProc {
bool (*IsFormat)(SkStream*);
@@ -33,7 +34,8 @@ static const DecoderProc gDecoderProcs[] = {
{ SkGifCodec::IsGif, SkGifCodec::NewFromStream },
{ SkIcoCodec::IsIco, SkIcoCodec::NewFromStream },
{ SkBmpCodec::IsBmp, SkBmpCodec::NewFromStream },
- { SkWbmpCodec::IsWbmp, SkWbmpCodec::NewFromStream }
+ { SkWbmpCodec::IsWbmp, SkWbmpCodec::NewFromStream },
+ { SkRawCodec::IsRaw, SkRawCodec::NewFromStream }
};
SkCodec* SkCodec::NewFromStream(SkStream* stream) {
« no previous file with comments | « include/codec/SkEncodedFormat.h ('k') | src/codec/SkRawCodec.h » ('j') | src/codec/SkRawCodec.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698