Revert "Set SVGExternalDocumentCache::Entry::document_ eagerly in NotifyFinished()"
This reverts commit 590a8d43. Reason for revert: Suspect cause of inspector-protocol/emulation/set-vision-deficiency.js failures: https://test-results.appspot.com/data/layout_results/linux-bfcache-rel/8184/blink_web_tests/layout-test-results/results.html Original change's description: > Set SVGExternalDocumentCache::Entry::document_ eagerly in NotifyFinished() > > Currently, we lazily initialize document the first time it is requested > *and* all of the data is loaded (https://crbug.com/1107442 fixed a case > where we would incorrectly initialize the document by creating it before > all of the data had been received). > > It's much clearer to just initialize the document when all of the data > is received, and have GetDocument() be a simple getter. > > Change-Id: I830dca5cc953ca8467fd936f5c783db21cfce051 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2316415 > Commit-Queue: Nate Chapin <japhet@chromium.org> > Reviewed-by: Fredrik Söderquist <fs@opera.com> > Reviewed-by: Kouhei Ueno <kouhei@chromium.org> > Cr-Commit-Position: refs/heads/master@{#804325} TBR=fs@opera.com,japhet@chromium.org,kouhei@chromium.org Change-Id: Ib838f8e42475020ceb83f8aa841d1ad077d705bd No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2393159Reviewed-by:Nate Chapin <japhet@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/master@{#804461}
Showing
Please register or sign in to comment