Index: Source/platform/PopupMenu.h |
diff --git a/Source/platform/PopupMenu.h b/Source/platform/PopupMenu.h |
index ad744d448b171478501c74d87cd12510452b004b..4e579ea4cf7f77afb330a82cdf578dcc2c7cf376 100644 |
--- a/Source/platform/PopupMenu.h |
+++ b/Source/platform/PopupMenu.h |
@@ -22,6 +22,7 @@ |
#define PopupMenu_h |
#include "platform/PlatformExport.h" |
+#include "platform/heap/Handle.h" |
#include "wtf/RefCounted.h" |
namespace blink { |
@@ -29,9 +30,10 @@ namespace blink { |
class FloatQuad; |
class IntSize; |
-class PopupMenu : public RefCounted<PopupMenu> { |
+class PopupMenu : public RefCountedWillBeGarbageCollectedFinalized<PopupMenu> { |
public: |
virtual ~PopupMenu() { } |
+ virtual void trace(Visitor*) { } |
virtual void show(const FloatQuad& controlPosition, const IntSize& controlSize, int index) = 0; |
virtual void hide() = 0; |
virtual void updateFromElement() = 0; |