Index: third_party/WebKit/Source/modules/push_messaging/PushSubscription.cpp |
diff --git a/third_party/WebKit/Source/modules/push_messaging/PushSubscription.cpp b/third_party/WebKit/Source/modules/push_messaging/PushSubscription.cpp |
index 01fda88de8800b7e1f85c7aa94ae76aea19418e0..b50912b0b40ab33e965f9bda5fd0677e48aa0fe2 100644 |
--- a/third_party/WebKit/Source/modules/push_messaging/PushSubscription.cpp |
+++ b/third_party/WebKit/Source/modules/push_messaging/PushSubscription.cpp |
@@ -48,7 +48,7 @@ KURL PushSubscription::endpoint() const |
return m_endpoint; |
} |
-PassRefPtr<DOMArrayBuffer> PushSubscription::getKey(const AtomicString& name) const |
+DOMArrayBuffer* PushSubscription::getKey(const AtomicString& name) const |
{ |
if (name == "p256dh") |
return m_p256dh; |
@@ -90,6 +90,8 @@ ScriptValue PushSubscription::toJSONForBinding(ScriptState* scriptState) |
DEFINE_TRACE(PushSubscription) |
{ |
+ visitor->trace(m_p256dh); |
+ visitor->trace(m_auth); |
visitor->trace(m_serviceWorkerRegistration); |
} |