Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(844)

Unified Diff: third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp

Issue 2707243006: [SharedArrayBuffer] Prevent SharedArrayBuffer being used in Web APIs (Closed)
Patch Set: update comment, add TODO Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 829cf3c7526048f45814acdc550b7ff2c840d7e9..8acd932bf730dc2869952e17650ce8916afe94da 100644
--- a/third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp
+++ b/third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp
@@ -118,7 +118,7 @@ bool NavigatorBeacon::SendBeaconImpl(
if (data.isArrayBufferView()) {
allowed =
PingLoader::SendBeacon(GetSupplementable()->GetFrame(), allowance, url,
- data.getAsArrayBufferView(), beacon_size);
+ data.getAsArrayBufferView().View(), beacon_size);
} else if (data.isBlob()) {
Blob* blob = data.getAsBlob();
if (!FetchUtils::IsSimpleContentType(AtomicString(blob->type()))) {

Powered by Google App Engine
This is Rietveld 408576698