Index: Source/core/frame/FrameClient.h |
diff --git a/Source/core/frame/FrameClient.h b/Source/core/frame/FrameClient.h |
index a6f68b0519caf0bdeaf1ad87bf777e51144a7188..7e25a8e6914dd7175fcd4f046164a9030345e1e0 100644 |
--- a/Source/core/frame/FrameClient.h |
+++ b/Source/core/frame/FrameClient.h |
@@ -6,6 +6,7 @@ |
#define FrameClient_h |
#include "core/CoreExport.h" |
+#include "platform/heap/Handle.h" |
namespace blink { |
@@ -15,7 +16,7 @@ class MessageEvent; |
class SecurityOrigin; |
enum class FrameDetachType; |
-class CORE_EXPORT FrameClient { |
+class CORE_EXPORT FrameClient : public NoBaseWillBeGarbageCollectedFinalized<FrameClient> { |
public: |
virtual bool inShadowTree() const = 0; |
@@ -40,6 +41,8 @@ public: |
virtual bool willCheckAndDispatchMessageEvent(SecurityOrigin* /*target*/, MessageEvent*, LocalFrame* /*sourceFrame*/) const { return false; } |
virtual ~FrameClient() { } |
+ |
+ DEFINE_INLINE_VIRTUAL_TRACE() { } |
}; |
} // namespace blink |