Description[pdf] Reset defer_page_unload to original value.
In the PdfiumEngine::GetMostVisiblePage() we force the system to defer page
unloading because it can be called during a callback. That callback can be
triggered from a ::HandleEvent() call. Currently we will always reset the
defer_page_unload_ to false in ::GetMostVisiblePage().
This Cl updates the code to reset defer_page_unload_ to the value it contained
prior to the call to ::GetMostVisiblePage().
Committed: https://crrev.com/8e36ea8099dbbbc4ab3d87e598ba03cebc55a6b0
Cr-Commit-Position: refs/heads/master@{#436590}
Patch Set 1 #
Total comments: 2
Patch Set 2 : review feedback #Messages
Total messages: 15 (8 generated)
|