Index: src/ports/SkImageDecoder_empty.cpp |
diff --git a/src/ports/SkImageDecoder_empty.cpp b/src/ports/SkImageDecoder_empty.cpp |
index 7824732bb9320a9303010c545590ab7e1672e3f4..722b7d45f8be6949d0751b3e82dcdf1a6d6821b6 100644 |
--- a/src/ports/SkImageDecoder_empty.cpp |
+++ b/src/ports/SkImageDecoder_empty.cpp |
@@ -32,8 +32,8 @@ bool SkImageDecoder::DecodeFile(const char[], SkBitmap*, SkColorType, Mode, Form |
return false; |
} |
-bool SkImageDecoder::decode(SkStream*, SkBitmap*, SkColorType, Mode) { |
- return false; |
+SkImageDecoder::Result SkImageDecoder::decode(SkStream*, SkBitmap*, SkColorType, Mode) { |
+ return kFailure; |
} |
bool SkImageDecoder::DecodeStream(SkStreamRewindable*, SkBitmap*, SkColorType, Mode, Format*) { |