Index: Source/core/loader/appcache/ApplicationCache.h |
diff --git a/Source/core/loader/appcache/ApplicationCache.h b/Source/core/loader/appcache/ApplicationCache.h |
index 517481cfb6858b66ac028a8459800611aa24fd38..fe308aa4c3074d74b73644b7283d65b66dbf58ad 100644 |
--- a/Source/core/loader/appcache/ApplicationCache.h |
+++ b/Source/core/loader/appcache/ApplicationCache.h |
@@ -41,7 +41,7 @@ class ExceptionState; |
class Frame; |
class KURL; |
-class ApplicationCache : public ScriptWrappable, public RefCounted<ApplicationCache>, public EventTarget, public DOMWindowProperty { |
+class ApplicationCache : public ScriptWrappable, public RefCounted<ApplicationCache>, public EventTargetWithInlineData, public DOMWindowProperty { |
public: |
static PassRefPtr<ApplicationCache> create(Frame* frame) { return adoptRef(new ApplicationCache(frame)); } |
~ApplicationCache() { ASSERT(!m_frame); } |
@@ -69,22 +69,18 @@ public: |
DEFINE_ATTRIBUTE_EVENT_LISTENER(cached); |
DEFINE_ATTRIBUTE_EVENT_LISTENER(obsolete); |
- virtual const AtomicString& interfaceName() const; |
- virtual ScriptExecutionContext* scriptExecutionContext() const; |
+ virtual const AtomicString& interfaceName() const OVERRIDE; |
+ virtual ScriptExecutionContext* scriptExecutionContext() const OVERRIDE; |
static const AtomicString& toEventType(ApplicationCacheHost::EventID); |
private: |
explicit ApplicationCache(Frame*); |
- virtual void refEventTarget() { ref(); } |
- virtual void derefEventTarget() { deref(); } |
- virtual EventTargetData* eventTargetData(); |
- virtual EventTargetData* ensureEventTargetData(); |
+ virtual void refEventTarget() OVERRIDE { ref(); } |
+ virtual void derefEventTarget() OVERRIDE { deref(); } |
ApplicationCacheHost* applicationCacheHost() const; |
- |
- EventTargetData m_eventTargetData; |
}; |
} // namespace WebCore |