summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/public/web/WebDOMEvent.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/public/web/WebDOMEvent.h')
-rw-r--r--chromium/third_party/WebKit/public/web/WebDOMEvent.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/chromium/third_party/WebKit/public/web/WebDOMEvent.h b/chromium/third_party/WebKit/public/web/WebDOMEvent.h
index 4be814f37e6..2ee49325cea 100644
--- a/chromium/third_party/WebKit/public/web/WebDOMEvent.h
+++ b/chromium/third_party/WebKit/public/web/WebDOMEvent.h
@@ -90,11 +90,10 @@ public:
BLINK_EXPORT bool isPopStateEvent() const;
BLINK_EXPORT bool isProgressEvent() const;
BLINK_EXPORT bool isXMLHttpRequestProgressEvent() const;
- BLINK_EXPORT bool isBeforeLoadEvent() const;
#if BLINK_IMPLEMENTATION
- WebDOMEvent(const WTF::PassRefPtr<WebCore::Event>&);
- operator WTF::PassRefPtr<WebCore::Event>() const;
+ WebDOMEvent(const PassRefPtrWillBeRawPtr<WebCore::Event>&);
+ operator PassRefPtrWillBeRawPtr<WebCore::Event>() const;
#endif
template<typename T> T to()
@@ -112,9 +111,8 @@ public:
}
protected:
- typedef WebCore::Event WebDOMEventPrivate;
#if BLINK_IMPLEMENTATION
- void assign(const WTF::PassRefPtr<WebDOMEventPrivate>&);
+ void assign(const PassRefPtrWillBeRawPtr<WebCore::Event>&);
template<typename T> T* unwrap()
{
@@ -127,7 +125,7 @@ protected:
}
#endif
- WebPrivatePtr<WebDOMEventPrivate> m_private;
+ WebPrivatePtr<WebCore::Event> m_private;
};
} // namespace blink