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 08bda90dda9481da977b3941a5d1a5c3ccd065ee..91c2a58621f4dcff8e7b80c79509b61a9dedb917 100644 |
--- a/third_party/WebKit/Source/modules/push_messaging/PushMessageData.cpp |
+++ b/third_party/WebKit/Source/modules/push_messaging/PushMessageData.cpp |
@@ -13,7 +13,7 @@ |
#include "platform/blob/BlobData.h" |
#include "wtf/Assertions.h" |
#include "wtf/text/TextEncoding.h" |
- |
+#include <memory> |
#include <v8.h> |
namespace blink { |
@@ -63,7 +63,7 @@ DOMArrayBuffer* PushMessageData::arrayBuffer() const |
Blob* PushMessageData::blob() const |
{ |
- OwnPtr<BlobData> blobData = BlobData::create(); |
+ std::unique_ptr<BlobData> blobData = BlobData::create(); |
blobData->appendBytes(m_data.data(), m_data.size()); |
// Note that the content type of the Blob object is deliberately not being |