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

Unified Diff: Source/modules/netinfo/NetworkInformation.cpp

Issue 1238083002: Oilpan: Move the EventListener hierarchy to Oilpan's heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/modules/netinfo/NetworkInformation.cpp
diff --git a/Source/modules/netinfo/NetworkInformation.cpp b/Source/modules/netinfo/NetworkInformation.cpp
index 737423cd547a657ad6cdf813c5ce795fefd5f17a..a3596e340419781a12f531e405c9263381be5534 100644
--- a/Source/modules/netinfo/NetworkInformation.cpp
+++ b/Source/modules/netinfo/NetworkInformation.cpp
@@ -87,7 +87,7 @@ ExecutionContext* NetworkInformation::executionContext() const
return ActiveDOMObject::executionContext();
}
-bool NetworkInformation::addEventListener(const AtomicString& eventType, PassRefPtr<EventListener> listener, bool useCapture)
+bool NetworkInformation::addEventListener(const AtomicString& eventType, PassRefPtrWillBeRawPtr<EventListener> listener, bool useCapture)
{
if (!EventTargetWithInlineData::addEventListener(eventType, listener, useCapture))
return false;
@@ -95,7 +95,7 @@ bool NetworkInformation::addEventListener(const AtomicString& eventType, PassRef
return true;
}
-bool NetworkInformation::removeEventListener(const AtomicString& eventType, PassRefPtr<EventListener> listener, bool useCapture)
+bool NetworkInformation::removeEventListener(const AtomicString& eventType, PassRefPtrWillBeRawPtr<EventListener> listener, bool useCapture)
{
if (!EventTargetWithInlineData::removeEventListener(eventType, listener, useCapture))
return false;

Powered by Google App Engine
This is Rietveld 408576698