Index: third_party/WebKit/Source/core/fetch/ImageResourceObserver.h |
diff --git a/third_party/WebKit/Source/core/fetch/ImageResourceObserver.h b/third_party/WebKit/Source/core/fetch/ImageResourceObserver.h |
index e70f18c712c341627a9fa83a95f4b0f4a2782f1e..7a6922f99bb10d2cfd4945aad38e59bcfd48d692 100644 |
--- a/third_party/WebKit/Source/core/fetch/ImageResourceObserver.h |
+++ b/third_party/WebKit/Source/core/fetch/ImageResourceObserver.h |
@@ -30,7 +30,7 @@ |
namespace blink { |
-class ImageResource; |
+class ImageResourceContent; |
class IntRect; |
class CORE_EXPORT ImageResourceObserver { |
@@ -40,11 +40,11 @@ class CORE_EXPORT ImageResourceObserver { |
// Called whenever a frame of an image changes, either because we got more |
// data from the network or because we are animating. If not null, the IntRect |
// is the changed rect of the image. |
- virtual void imageChanged(ImageResource*, const IntRect* = 0) {} |
+ virtual void imageChanged(ImageResourceContent*, const IntRect* = 0) {} |
// Called just after imageChanged() if all image data is received or errored. |
// TODO(hiroshige): Merge imageNotifyFinished() into imageChanged(). |
- virtual void imageNotifyFinished(ImageResource*) {} |
+ virtual void imageNotifyFinished(ImageResourceContent*) {} |
// Called to find out if this client wants to actually display the image. Used |
// to tell when we can halt animation. Content nodes that hold image refs for |