
Chromium, which is PDFium's embedder, provides callbacks to the latter. It is possible for PDFium to enter its own isolate before calling one of these callbacks, further creating the possibility of Chromium calling v8::Isolate::GetCurrent() and getting PDFium's isolate. Capture Chromium's isolate prior to passing the callbacks to PDFium, and enter it within each of the callbacks. Fixed: 1252212 Change-Id: I1f5036ca1e52a2ae67745795501828cf8659f758 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3183825 Auto-Submit: Daniel Hosseinian <dhoss@chromium.org> Reviewed-by: Adam Klein <adamk@chromium.org> Reviewed-by: John Abd-El-Malek <jam@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: John Abd-El-Malek <jam@chromium.org> Cr-Commit-Position: refs/heads/main@{#928423}
Chromium
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead,
follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.