Revert "Sequentialise access to callbacks in DWriteFontLookupTableBuilder"
This reverts commit 36911404. Reason for revert: Multiple test targets are failing on Win7 Tests with: 3724:4788:0131/021830.830:FATAL:dwrite_font_lookup_table_builder_win.cc(335)] Check failed: callbacks_access_task_runner_. Bug: 1047647 Original change's description: > Sequentialise access to callbacks in DWriteFontLookupTableBuilder > > Since there may be multiple instance of DWriteFontProxyImpl instantiated > for multiple RenderProcessHosts, and > DWriteFontProxyImpl::GetUniqueNameLookupTable may access > DWriteFontLookupTableBuilder::QueueShareMemoryRegionWhenReady from > separate threads, there may be race conditions around the > pending_callbacks_ member of DWriteFontLookupTableBuilder. > > Sequentialise and guard access to pending_callbacks_ with a separate > sequenced task runner. > > Fixed: 1047054 > Change-Id: Ib7d7a385273bd82eb4d1acf720dac5d688a3435e > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2030864 > Commit-Queue: Dominik Röttsches <drott@chromium.org> > Reviewed-by: Matthew Denton <mpdenton@chromium.org> > Auto-Submit: Dominik Röttsches <drott@chromium.org> > Cr-Commit-Position: refs/heads/master@{#737252} TBR=drott@chromium.org,mpdenton@chromium.org Change-Id: I23ae8f14e6f82171d6b6950a937b51faa00b3a63 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2031043Reviewed-by:Ioana Pandele <ioanap@chromium.org> Commit-Queue: Ioana Pandele <ioanap@chromium.org> Cr-Commit-Position: refs/heads/master@{#737285}
Showing
Please register or sign in to comment