Chromium Code Reviews| Index: Source/modules/serviceworkers/Body.cpp |
| diff --git a/Source/modules/serviceworkers/Body.cpp b/Source/modules/serviceworkers/Body.cpp |
| index cd4088d1de1a9be07a2afe53363835d8d833a604..fafe2d6eb71664e287844e378563684b1dc19613 100644 |
| --- a/Source/modules/serviceworkers/Body.cpp |
| +++ b/Source/modules/serviceworkers/Body.cpp |
| @@ -97,6 +97,11 @@ bool Body::bodyUsed() const |
| return m_bodyUsed; |
| } |
| +void Body::setBodyUsed() |
| +{ |
| + m_bodyUsed = true; |
| +} |
| + |
| void Body::stop() |
| { |
| // Canceling the load will call didFail which will remove the resolver. |