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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.cpp
diff --git a/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.cpp b/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.cpp
index ad70de0bbead8f9141f15fc29372b275707c65d7..5493496048a57c2eb39d71bd8ecf111246b9e10c 100644
--- a/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.cpp
+++ b/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.cpp
@@ -213,7 +213,7 @@ void ApplicationCacheHost::fillResourceList(ResourceInfoList* resources)
void ApplicationCacheHost::stopDeferringEvents()
{
- RefPtrWillBeRawPtr<DocumentLoader> protect(documentLoader());
+ RawPtr<DocumentLoader> protect(documentLoader());
for (unsigned i = 0; i < m_deferredEvents.size(); ++i) {
const DeferredEvent& deferred = m_deferredEvents[i];
dispatchDOMEvent(deferred.eventID, deferred.progressTotal, deferred.progressDone, deferred.errorReason, deferred.errorURL, deferred.errorStatus, deferred.errorMessage);
@@ -230,7 +230,7 @@ void ApplicationCacheHost::dispatchDOMEvent(EventID id, int progressTotal, int p
const AtomicString& eventType = ApplicationCache::toEventType(id);
if (eventType.isEmpty() || !m_domApplicationCache->executionContext())
return;
- RefPtrWillBeRawPtr<Event> event = nullptr;
+ RawPtr<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