Remove custom pausing logic from HTMLDocumentParser
All it does is cancel a timer and restart it when unpausing, which is unnecessary as the underlying task queue will be paused, too. HTMLDocumentParser had recently been made a ContextLifecycleStateObserver, which had caused a substantial slowdown in perf_tests/parser/tiny-innerHTML.html. This CL removes that inheritance and reverses the slowdown. Bug: 1030905 Change-Id: I4c296869b60db8c152c14cf1619051c21918ef82 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1955849 Commit-Queue: Nate Chapin <japhet@chromium.org> Reviewed-by:Kouhei Ueno <kouhei@chromium.org> Reviewed-by:
Mason Freed <masonfreed@chromium.org> Auto-Submit: Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/master@{#723497}
Showing
Please register or sign in to comment