Yield HTMLDocumentParser for high priority tasks in blink scheduler.
Yield HTMLDocumentParser for high priority tasks in blink scheduler.

Before this CL, main thread continued to process chunks from
background parser when there were pending high priority tasks.

This CL changes HTMLDocumentParser to query blink scheduler so we can
yield when more high priority tasks are queued.

BUG=421300

Review URL: https://codereview.chromium.org/634983003

git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@183407 bbb929c8-8fbe-4397-9dbb-9b2b20218538

primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs