diff options
author | Jochen Eisinger <jochen@chromium.org> | 2015-07-15 14:47:01 +0200 |
---|---|---|
committer | Jochen Eisinger <jochen@chromium.org> | 2015-07-15 14:47:01 +0200 |
commit | 8ccc2068013dffd6762cb7f27238b401b9f2ffaf (patch) | |
tree | 1ef48c5f92998f1820ba1e251c236e52558a8289 /samples/pdfium_test.cc | |
parent | 1c79928b4ade95806d0351a21b4d4727d6c8ed38 (diff) | |
download | pdfium-8ccc2068013dffd6762cb7f27238b401b9f2ffaf.tar.xz |
Revert "Pump the v8 message loop in tests"
This reverts commit 304578020122cc4d2a4a8c1598694ef2b9be92b5.
Turns out that in both cases v8 is already destructed at those points,
and we can't pump the message loops.
TBR=tsepez@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1236603003 .
Diffstat (limited to 'samples/pdfium_test.cc')
-rw-r--r-- | samples/pdfium_test.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/samples/pdfium_test.cc b/samples/pdfium_test.cc index 8ca26abd05..7e9ca68cef 100644 --- a/samples/pdfium_test.cc +++ b/samples/pdfium_test.cc @@ -616,8 +616,6 @@ int main(int argc, const char* argv[]) { if (!file_contents) continue; RenderPdf(filename, file_contents, file_length, options); - while (v8::platform::PumpMessageLoop(platform, v8::Isolate::GetCurrent())) - continue; free(file_contents); } |