Remove redundant functions from WebThreadScheduler.

This patch removes CanExceedIdleDeadlineIfRequired() and
ShouldYieldForHighPriorityWork() from WebMainThreadScheduler. Those
functions are not meant to be exposed to Chromium via Web interfaces,
and ThreadScheduler is the proper home for them.

ThreadScheduler already has the declarations of the same functions,
so at this point the declarations in WebThreadScheduler are just
redundant -- we just need to remove them and we are good.

Bug: 826203
Change-Id: Iaef204c07d51088a21be9f34e03074c3eb8454d9
Reviewed-on: https://chromium-review.googlesource.com/1067278
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Alexander Timin <altimin@chromium.org>
Commit-Queue: Yuta Kitamura <yutak@chromium.org>
Cr-Commit-Position: refs/heads/master@{#560997}
7 files changed