| Index: third_party/WebKit/Source/core/loader/PingLoader.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/PingLoader.cpp b/third_party/WebKit/Source/core/loader/PingLoader.cpp
|
| index e9cddb9b2385cf0f7c36e00878fa6207edcae0d6..cb6542d3d1ef5c6aa7a6acf3adf6f3f74a49aef4 100644
|
| --- a/third_party/WebKit/Source/core/loader/PingLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp
|
| @@ -426,7 +426,7 @@ bool sendBeaconCommon(LocalFrame* frame,
|
| return false;
|
|
|
| unsigned long long entitySize = beacon.size();
|
| - if (allowance > 0 && static_cast<unsigned long long>(allowance) < entitySize)
|
| + if (allowance < 0 || static_cast<unsigned long long>(allowance) < entitySize)
|
| return false;
|
|
|
| payloadLength = entitySize;
|
|
|