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

Unified Diff: third_party/WebKit/Source/core/events/ApplicationCacheErrorEvent.h

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, 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/events/ApplicationCacheErrorEvent.h
diff --git a/third_party/WebKit/Source/core/events/ApplicationCacheErrorEvent.h b/third_party/WebKit/Source/core/events/ApplicationCacheErrorEvent.h
index e71909d76ff3344b252fe64f235bd8295c3dbce3..fad86082f4a8ff2356c09e5de80c0cafe2d2ee31 100644
--- a/third_party/WebKit/Source/core/events/ApplicationCacheErrorEvent.h
+++ b/third_party/WebKit/Source/core/events/ApplicationCacheErrorEvent.h
@@ -17,19 +17,19 @@ class ApplicationCacheErrorEvent final : public Event {
public:
~ApplicationCacheErrorEvent() override;
- static PassRefPtrWillBeRawPtr<ApplicationCacheErrorEvent> create()
+ static RawPtr<ApplicationCacheErrorEvent> create()
{
return adoptRefWillBeNoop(new ApplicationCacheErrorEvent);
}
- static PassRefPtrWillBeRawPtr<ApplicationCacheErrorEvent> create(WebApplicationCacheHost::ErrorReason reason, const String& url, int status, const String& message)
+ static RawPtr<ApplicationCacheErrorEvent> create(WebApplicationCacheHost::ErrorReason reason, const String& url, int status, const String& message)
{
- return adoptRefWillBeNoop(new ApplicationCacheErrorEvent(reason, url, status, message));
+ return new ApplicationCacheErrorEvent(reason, url, status, message);
}
- static PassRefPtrWillBeRawPtr<ApplicationCacheErrorEvent> create(const AtomicString& eventType, const ApplicationCacheErrorEventInit& initializer)
+ static RawPtr<ApplicationCacheErrorEvent> create(const AtomicString& eventType, const ApplicationCacheErrorEventInit& initializer)
{
- return adoptRefWillBeNoop(new ApplicationCacheErrorEvent(eventType, initializer));
+ return new ApplicationCacheErrorEvent(eventType, initializer);
}
const String& reason() const { return m_reason; }

Powered by Google App Engine
This is Rietveld 408576698