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 b1f5da8ede5cd434f9605d313c5444ec8011b99d..4a525861c963dc67c93eb81de6a8d8c57a3c834d 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 |