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

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

Issue 216233013: Oilpan: Build fix after r170389 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
« no previous file with comments | « no previous file | Source/core/events/ApplicationCacheErrorEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/ApplicationCacheErrorEvent.h
diff --git a/Source/core/events/ApplicationCacheErrorEvent.h b/Source/core/events/ApplicationCacheErrorEvent.h
index bc947d5c7d20e0e1ba4d90b9c3a8aba31dc38ce6..a810d67b1097ac6775db02139e77111ea7fe80df 100644
--- a/Source/core/events/ApplicationCacheErrorEvent.h
+++ b/Source/core/events/ApplicationCacheErrorEvent.h
@@ -27,19 +27,19 @@ class ApplicationCacheErrorEvent FINAL : public Event {
public:
virtual ~ApplicationCacheErrorEvent();
- static PassRefPtr<ApplicationCacheErrorEvent> create()
+ static PassRefPtrWillBeRawPtr<ApplicationCacheErrorEvent> create()
{
- return adoptRef(new ApplicationCacheErrorEvent);
+ return adoptRefWillBeRefCountedGarbageCollected(new ApplicationCacheErrorEvent);
}
- static PassRefPtr<ApplicationCacheErrorEvent> create(blink::WebApplicationCacheHost::ErrorReason reason, const String& url, int status, const String& message)
+ static PassRefPtrWillBeRawPtr<ApplicationCacheErrorEvent> create(blink::WebApplicationCacheHost::ErrorReason reason, const String& url, int status, const String& message)
{
- return adoptRef(new ApplicationCacheErrorEvent(reason, url, status, message));
+ return adoptRefWillBeRefCountedGarbageCollected(new ApplicationCacheErrorEvent(reason, url, status, message));
}
- static PassRefPtr<ApplicationCacheErrorEvent> create(const AtomicString& eventType, const ApplicationCacheErrorEventInit& initializer)
+ static PassRefPtrWillBeRawPtr<ApplicationCacheErrorEvent> create(const AtomicString& eventType, const ApplicationCacheErrorEventInit& initializer)
{
- return adoptRef(new ApplicationCacheErrorEvent(eventType, initializer));
+ return adoptRefWillBeRefCountedGarbageCollected(new ApplicationCacheErrorEvent(eventType, initializer));
}
const String& reason() const { return m_reason; }
@@ -49,6 +49,8 @@ public:
virtual const AtomicString& interfaceName() const OVERRIDE { return EventNames::ApplicationCacheErrorEvent; }
+ virtual void trace(Visitor*) OVERRIDE;
+
private:
ApplicationCacheErrorEvent();
ApplicationCacheErrorEvent(blink::WebApplicationCacheHost::ErrorReason, const String& url, int status, const String& message);
« no previous file with comments | « no previous file | Source/core/events/ApplicationCacheErrorEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698