summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/page/PagePopupController.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/page/PagePopupController.h')
-rw-r--r--chromium/third_party/WebKit/Source/core/page/PagePopupController.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/chromium/third_party/WebKit/Source/core/page/PagePopupController.h b/chromium/third_party/WebKit/Source/core/page/PagePopupController.h
index 7a4846fb0aa..04abbfb0715 100644
--- a/chromium/third_party/WebKit/Source/core/page/PagePopupController.h
+++ b/chromium/third_party/WebKit/Source/core/page/PagePopupController.h
@@ -32,6 +32,7 @@
#define PagePopupController_h
#include "bindings/v8/ScriptWrappable.h"
+#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
#include "wtf/RefCounted.h"
@@ -39,9 +40,9 @@ namespace WebCore {
class PagePopupClient;
-class PagePopupController : public RefCounted<PagePopupController>, public ScriptWrappable {
+class PagePopupController : public RefCountedWillBeGarbageCollectedFinalized<PagePopupController>, public ScriptWrappable {
public:
- static PassRefPtr<PagePopupController> create(PagePopupClient*);
+ static PassRefPtrWillBeRawPtr<PagePopupController> create(PagePopupClient*);
void setValueAndClosePopup(int numValue, const String& stringValue);
void setValue(const String&);
void closePopup();
@@ -51,6 +52,8 @@ public:
void clearPagePopupClient();
void histogramEnumeration(const String& name, int sample, int boundaryValue);
+ void trace(Visitor*) { }
+
private:
explicit PagePopupController(PagePopupClient*);