| Index: third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptions.cpp
|
| diff --git a/third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptions.cpp b/third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptions.cpp
|
| index 9c25e437447fd9fb598209af3f3209b8116b8a8c..3700e538cbf8a4673da4643c6c2d4edf6f73f1f5 100644
|
| --- a/third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptions.cpp
|
| +++ b/third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptions.cpp
|
| @@ -31,9 +31,11 @@ String BufferSourceToString(
|
| length = application_server_key.getAsArrayBuffer()->ByteLength();
|
| } else if (application_server_key.isArrayBufferView()) {
|
| input = static_cast<unsigned char*>(
|
| - application_server_key.getAsArrayBufferView()->buffer()->Data());
|
| - length =
|
| - application_server_key.getAsArrayBufferView()->buffer()->ByteLength();
|
| + application_server_key.getAsArrayBufferView().View()->buffer()->Data());
|
| + length = application_server_key.getAsArrayBufferView()
|
| + .View()
|
| + ->buffer()
|
| + ->ByteLength();
|
| } else {
|
| NOTREACHED();
|
| return String();
|
|
|