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

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

Issue 1610883002: Oilpan: ImageObserver needs to be a GC mixin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl try Created 4 years, 10 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/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

Powered by Google App Engine
This is Rietveld 408576698