diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-01-03 09:44:28 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-08 14:52:51 +0000 |
commit | 5553d8b11634935c34e7774325eda6afd61c8f56 (patch) | |
tree | a33d4014b3c7f1ef88bf84e3ec3ef05a53af1b7f /core/fpdfapi/page/cpdf_generalstate.h | |
parent | 5183e8679844eeff2c5dda2a2e02762487429a1f (diff) | |
download | pdfium-5553d8b11634935c34e7774325eda6afd61c8f56.tar.xz |
Initialize V8 once in embedder tests
This CL moves the initialization of the V8 platform to happen in the
GTest environment so it's only run once. This takes the
CFXJSE_FormCalcContextEmbedderTest Debug time from ~25s to ~19s on my
local machine.
Bug: pdfium:928
Change-Id: Ie8c27606721e7056de42e7d9474b0621f1e7212f
Reviewed-on: https://pdfium-review.googlesource.com/22070
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_generalstate.h')
0 files changed, 0 insertions, 0 deletions