Index: third_party/WebKit/Source/core/fetch/ImageResource.h |
diff --git a/third_party/WebKit/Source/core/fetch/ImageResource.h b/third_party/WebKit/Source/core/fetch/ImageResource.h |
index 1db014535bce07bd5bf28178ed5d71c00b89ec1c..1cd44af4681904eb5f131d8f892e6e69ac15cb30 100644 |
--- a/third_party/WebKit/Source/core/fetch/ImageResource.h |
+++ b/third_party/WebKit/Source/core/fetch/ImageResource.h |
@@ -40,7 +40,6 @@ class ResourceFetcher; |
class FloatSize; |
class Length; |
class MemoryCache; |
-class LayoutObject; |
class SecurityOrigin; |
class CORE_EXPORT ImageResource final : public Resource, public ImageObserver { |
@@ -60,8 +59,6 @@ public: |
blink::Image* image(); // Returns the nullImage() if the image is not available yet. |
bool hasImage() const { return m_image.get(); } |
- // Side effect: ensures decoded image is in cache, therefore should only be called when about to draw the image. |
- bool currentFrameKnownToBeOpaque(const LayoutObject*); |
static std::pair<blink::Image*, float> brokenImage(float deviceScaleFactor); // Returns an image and the image's resolution scale factor. |
bool willPaintBrokenImage() const; |