diff options
author | Jochen Eisinger <jochen@chromium.org> | 2015-07-15 14:28:17 +0200 |
---|---|---|
committer | Jochen Eisinger <jochen@chromium.org> | 2015-07-15 14:28:17 +0200 |
commit | 304578020122cc4d2a4a8c1598694ef2b9be92b5 (patch) | |
tree | 5019b20f0b7f8c97b40b282525be89d8232df804 /testing | |
parent | 759247991b5f1df71335294e6bfe3e3fe7aec7b4 (diff) | |
download | pdfium-304578020122cc4d2a4a8c1598694ef2b9be92b5.tar.xz |
Pump the v8 message loop in tests
R=tsepez@chromium.org, ulan@chromium.org
BUG=none
Review URL: https://codereview.chromium.org/1230393006 .
Diffstat (limited to 'testing')
-rw-r--r-- | testing/embedder_test.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/embedder_test.cpp b/testing/embedder_test.cpp index ee2ad086a7..ba33ca6e49 100644 --- a/testing/embedder_test.cpp +++ b/testing/embedder_test.cpp @@ -173,6 +173,8 @@ void EmbedderTest::TearDown() { FPDF_CloseDocument(document_); FPDFDOC_ExitFormFillEnvironment(form_handle_); } + while (v8::platform::PumpMessageLoop(platform_, v8::Isolate::GetCurrent())) + continue; FPDFAvail_Destroy(avail_); FPDF_DestroyLibrary(); v8::V8::ShutdownPlatform(); |