Index: Source/core/loader/appcache/ApplicationCacheHost.cpp |
diff --git a/Source/core/loader/appcache/ApplicationCacheHost.cpp b/Source/core/loader/appcache/ApplicationCacheHost.cpp |
index 8db7d24acded62564b744e081e5c9942cdd5b178..669eb54d5f253ddc127069658f1a9e1e28eb9781 100644 |
--- a/Source/core/loader/appcache/ApplicationCacheHost.cpp |
+++ b/Source/core/loader/appcache/ApplicationCacheHost.cpp |
@@ -216,7 +216,7 @@ void ApplicationCacheHost::dispatchDOMEvent(EventID id, int progressTotal, int p |
{ |
if (m_domApplicationCache) { |
const AtomicString& eventType = ApplicationCache::toEventType(id); |
- RefPtr<Event> event; |
+ RefPtrWillBeRawPtr<Event> event = nullptr; |
if (id == PROGRESS_EVENT) |
event = ProgressEvent::create(eventType, true, progressDone, progressTotal); |
else if (id == ERROR_EVENT) |