Index: third_party/WebKit/Source/modules/push_messaging/PushMessageData.cpp |
diff --git a/third_party/WebKit/Source/modules/push_messaging/PushMessageData.cpp b/third_party/WebKit/Source/modules/push_messaging/PushMessageData.cpp |
index a7b133d9d2d7bbe82f776b135dd5b8fcb9ecc598..b6c96284163fc2185564c492198e97820d94b8c5 100644 |
--- a/third_party/WebKit/Source/modules/push_messaging/PushMessageData.cpp |
+++ b/third_party/WebKit/Source/modules/push_messaging/PushMessageData.cpp |
@@ -29,7 +29,7 @@ PushMessageData* PushMessageData::create(const String& messageString) |
PushMessageData* PushMessageData::create(const ArrayBufferOrArrayBufferViewOrUSVString& messageData) |
{ |
if (messageData.isArrayBuffer() || messageData.isArrayBufferView()) { |
- RefPtr<DOMArrayBuffer> buffer = messageData.isArrayBufferView() |
+ DOMArrayBuffer* buffer = messageData.isArrayBufferView() |
? messageData.getAsArrayBufferView()->buffer() |
: messageData.getAsArrayBuffer(); |
@@ -54,7 +54,7 @@ PushMessageData::~PushMessageData() |
{ |
} |
-PassRefPtr<DOMArrayBuffer> PushMessageData::arrayBuffer() const |
+DOMArrayBuffer* PushMessageData::arrayBuffer() const |
{ |
return DOMArrayBuffer::create(m_data.data(), m_data.size()); |
} |