| 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 8059999da762797ba2bc5826fb9134df30361dc2..abb5ba5243b0d481e99c81d755ecc0ac6b4fb03b 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 = applicationServerKey.getAsArrayBuffer()->byteLength();
|
| } else if (applicationServerKey.isArrayBufferView()) {
|
| input = static_cast<unsigned char*>(
|
| - applicationServerKey.getAsArrayBufferView()->buffer()->data());
|
| - length =
|
| - applicationServerKey.getAsArrayBufferView()->buffer()->byteLength();
|
| + applicationServerKey.getAsArrayBufferView().view()->buffer()->data());
|
| + length = applicationServerKey.getAsArrayBufferView()
|
| + .view()
|
| + ->buffer()
|
| + ->byteLength();
|
| } else {
|
| NOTREACHED();
|
| return String();
|
|
|