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

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

Issue 1853743005: Oilpan: Remove WillBe types (part 13) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: 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 2c571c58beb1ba0d58e20d8fcac73a3cece40efd..81adb3e7ccd631d8036c6c4936213bd604314e35 100644
--- a/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.cpp
+++ b/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.cpp
@@ -227,7 +227,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);
@@ -244,7 +244,7 @@ void ApplicationCacheHost::dispatchDOMEvent(EventID id, int progressTotal, int p
const AtomicString& eventType = ApplicationCache::toEventType(id);
if (eventType.isEmpty() || !m_domApplicationCache->getExecutionContext())
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