| Index: Source/modules/beacon/NavigatorBeacon.cpp
|
| diff --git a/Source/modules/beacon/NavigatorBeacon.cpp b/Source/modules/beacon/NavigatorBeacon.cpp
|
| index 4e4970f200d594ff40a27f00c38241d6ff9ca54b..d422e9486695b42ad06e68584d1552579d66a079 100644
|
| --- a/Source/modules/beacon/NavigatorBeacon.cpp
|
| +++ b/Source/modules/beacon/NavigatorBeacon.cpp
|
| @@ -107,15 +107,15 @@ bool NavigatorBeacon::sendBeacon(ExecutionContext* context, Navigator& navigator
|
| bool allowed;
|
|
|
| if (data.isArrayBufferView())
|
| - allowed = BeaconLoader::sendBeacon(navigator.frame(), allowance, url, data.getAsArrayBufferView(), bytes);
|
| + allowed = BeaconLoader::sendBeacon(navigator.localFrame(), allowance, url, data.getAsArrayBufferView(), bytes);
|
| else if (data.isBlob())
|
| - allowed = BeaconLoader::sendBeacon(navigator.frame(), allowance, url, data.getAsBlob(), bytes);
|
| + allowed = BeaconLoader::sendBeacon(navigator.localFrame(), allowance, url, data.getAsBlob(), bytes);
|
| else if (data.isString())
|
| - allowed = BeaconLoader::sendBeacon(navigator.frame(), allowance, url, data.getAsString(), bytes);
|
| + allowed = BeaconLoader::sendBeacon(navigator.localFrame(), allowance, url, data.getAsString(), bytes);
|
| else if (data.isFormData())
|
| - allowed = BeaconLoader::sendBeacon(navigator.frame(), allowance, url, data.getAsFormData(), bytes);
|
| + allowed = BeaconLoader::sendBeacon(navigator.localFrame(), allowance, url, data.getAsFormData(), bytes);
|
| else
|
| - allowed = BeaconLoader::sendBeacon(navigator.frame(), allowance, url, String(), bytes);
|
| + allowed = BeaconLoader::sendBeacon(navigator.localFrame(), allowance, url, String(), bytes);
|
|
|
| return impl.beaconResult(context, allowed, bytes);
|
| }
|
|
|