Index: third_party/WebKit/Source/platform/graphics/ImageSource.h |
diff --git a/third_party/WebKit/Source/platform/graphics/ImageSource.h b/third_party/WebKit/Source/platform/graphics/ImageSource.h |
index d813c085e9a4557ab19b92b8b649b2a1e57fa4e0..7bcfd9366225444b7325e178855484a381774116 100644 |
--- a/third_party/WebKit/Source/platform/graphics/ImageSource.h |
+++ b/third_party/WebKit/Source/platform/graphics/ImageSource.h |
@@ -70,7 +70,8 @@ public: |
size_t clearCacheExceptFrame(size_t); |
PassRefPtr<SharedBuffer> data(); |
- ImageDecoder::SniffResult setData(SharedBuffer& data, bool allDataReceived); |
+ // Returns false when the decoder layer rejects the data. |
+ bool setData(PassRefPtr<SharedBuffer> data, bool allDataReceived); |
String filenameExtension() const; |
bool isSizeAvailable(); |