| Index: third_party/WebKit/Source/web/tests/sim/SimRequest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/sim/SimRequest.cpp b/third_party/WebKit/Source/web/tests/sim/SimRequest.cpp
|
| index 2be8e69599862da7300a3e8bc13acf09eeb50342..df46ca526a98ee231e1cd72ea290b4e5aaeea3bb 100644
|
| --- a/third_party/WebKit/Source/web/tests/sim/SimRequest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/sim/SimRequest.cpp
|
| @@ -61,7 +61,7 @@ void SimRequest::write(const String& data) {
|
| void SimRequest::finish() {
|
| DCHECK(m_isReady);
|
| if (m_error.reason) {
|
| - m_client->didFail(m_loader, m_error);
|
| + m_client->didFail(m_loader, m_error, m_totalEncodedDataLength);
|
| } else {
|
| // TODO(esprehn): Is claiming a request time of 0 okay for tests?
|
| m_client->didFinishLoading(m_loader, 0, m_totalEncodedDataLength);
|
|
|