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

Unified Diff: third_party/WebKit/Source/modules/push_messaging/PushSubscription.cpp

Issue 1964183004: Revert of Move DOMArrayBuffer, DOMArrayBufferViews and DataView to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/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 b50912b0b40ab33e965f9bda5fd0677e48aa0fe2..01fda88de8800b7e1f85c7aa94ae76aea19418e0 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 @@
return m_endpoint;
}
-DOMArrayBuffer* PushSubscription::getKey(const AtomicString& name) const
+PassRefPtr<DOMArrayBuffer> PushSubscription::getKey(const AtomicString& name) const
{
if (name == "p256dh")
return m_p256dh;
@@ -90,8 +90,6 @@
DEFINE_TRACE(PushSubscription)
{
- visitor->trace(m_p256dh);
- visitor->trace(m_auth);
visitor->trace(m_serviceWorkerRegistration);
}

Powered by Google App Engine
This is Rietveld 408576698