| 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 9aacb90f771f1a17fadf79567949b8038c697ef8..20af8377dbbc2a384d470a3b98ce7ab107bf645f 100644
|
| --- a/third_party/WebKit/Source/web/tests/sim/SimRequest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/sim/SimRequest.cpp
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "web/tests/sim/SimRequest.h"
|
|
|
| +#include "platform/testing/UnitTestHelpers.h"
|
| #include "platform/weborigin/KURL.h"
|
| #include "public/platform/Platform.h"
|
| #include "public/platform/WebURLLoaderClient.h"
|
| @@ -70,6 +71,9 @@ void SimRequest::finish()
|
| m_client->didFinishLoading(m_loader, 0, m_totalEncodedDataLength);
|
| }
|
| reset();
|
| +
|
| + // Pump the message loop to process the load event.
|
| + testing::runPendingTasks();
|
| }
|
|
|
| void SimRequest::complete(const String& data)
|
|
|