Index: third_party/WebKit/Source/platform/graphics/ImageObserver.h |
diff --git a/third_party/WebKit/Source/platform/graphics/ImageObserver.h b/third_party/WebKit/Source/platform/graphics/ImageObserver.h |
index 0cdf1d0031354281e977ab557d815e9d24de14d2..ab72e6c3fda028dec2d47cc2bf9e5d6b85ba8a8b 100644 |
--- a/third_party/WebKit/Source/platform/graphics/ImageObserver.h |
+++ b/third_party/WebKit/Source/platform/graphics/ImageObserver.h |
@@ -27,6 +27,7 @@ |
#define ImageObserver_h |
#include "platform/PlatformExport.h" |
+#include "platform/heap/Handle.h" |
namespace blink { |
@@ -35,7 +36,7 @@ class IntRect; |
// Interface for notification about changes to an image, including decoding, |
// drawing, and animating. |
-class PLATFORM_EXPORT ImageObserver { |
+class PLATFORM_EXPORT ImageObserver : public WillBeGarbageCollectedMixin { |
protected: |
virtual ~ImageObserver(); |
public: |
@@ -46,6 +47,8 @@ public: |
virtual void animationAdvanced(const Image*) = 0; |
virtual void changedInRect(const Image*, const IntRect&) = 0; |
+ |
+ DEFINE_INLINE_VIRTUAL_TRACE() { } |
}; |
} // namespace blink |