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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageSource.h

Issue 2173603003: Revert of Cancel image loads if decoding failed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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: 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..73bdb7ee103c2ecea92bdd52df9934b647b40457 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageSource.h
+++ b/third_party/WebKit/Source/platform/graphics/ImageSource.h
@@ -27,7 +27,6 @@
#define ImageSource_h
#include "platform/PlatformExport.h"
-#include "platform/graphics/DeferredImageDecoder.h"
#include "platform/graphics/ImageOrientation.h"
#include "wtf/Forward.h"
#include "wtf/Noncopyable.h"
@@ -37,6 +36,7 @@
namespace blink {
+class DeferredImageDecoder;
class ImageOrientation;
class IntPoint;
class IntSize;
@@ -70,7 +70,7 @@
size_t clearCacheExceptFrame(size_t);
PassRefPtr<SharedBuffer> data();
- ImageDecoder::SniffResult setData(SharedBuffer& data, bool allDataReceived);
+ void setData(SharedBuffer& data, bool allDataReceived);
String filenameExtension() const;
bool isSizeAvailable();

Powered by Google App Engine
This is Rietveld 408576698