Index: Source/platform/HostWindow.h |
diff --git a/Source/platform/HostWindow.h b/Source/platform/HostWindow.h |
index 2be101995b12aff51235142fcfaaedabd084b30d..9776b3132766a829b96b13bb5c88580654870eb4 100644 |
--- a/Source/platform/HostWindow.h |
+++ b/Source/platform/HostWindow.h |
@@ -27,6 +27,7 @@ |
#define HostWindow_h |
#include "platform/PlatformExport.h" |
+#include "platform/heap/Handle.h" |
#include "wtf/FastAllocBase.h" |
#include "wtf/Noncopyable.h" |
@@ -34,11 +35,13 @@ namespace blink { |
class IntRect; |
struct WebScreenInfo; |
-class PLATFORM_EXPORT HostWindow { |
- WTF_MAKE_NONCOPYABLE(HostWindow); WTF_MAKE_FAST_ALLOCATED(HostWindow); |
+class PLATFORM_EXPORT HostWindow : public NoBaseWillBeGarbageCollectedFinalized<HostWindow> { |
+ WTF_MAKE_NONCOPYABLE(HostWindow); |
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(HostWindow); |
public: |
HostWindow() { } |
virtual ~HostWindow() { } |
+ DEFINE_INLINE_VIRTUAL_TRACE() { } |
// Requests the host invalidate the contents. |
virtual void invalidateRect(const IntRect& updateRect) = 0; |