Index: third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp |
diff --git a/third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp b/third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp |
index f789514bf364ca8da6767a36234075dfb25b350d..c795634a0009965f078fbc7c2f6f0242c79026de 100644 |
--- a/third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp |
+++ b/third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp |
@@ -116,8 +116,9 @@ bool NavigatorBeacon::sendBeaconImpl( |
bool allowed; |
if (data.isArrayBufferView()) { |
- allowed = PingLoader::sendBeacon(supplementable()->frame(), allowance, url, |
- data.getAsArrayBufferView(), beaconSize); |
+ allowed = |
+ PingLoader::sendBeacon(supplementable()->frame(), allowance, url, |
+ data.getAsArrayBufferView().view(), beaconSize); |
} else if (data.isBlob()) { |
Blob* blob = data.getAsBlob(); |
if (!FetchUtils::isSimpleContentType(AtomicString(blob->type()))) { |