Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1529)

Unified Diff: Source/core/loader/appcache/ApplicationCacheHost.cpp

Issue 216523002: Oilpan: Replace most of RefPtrs for Event objects with oilpan's transition types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698