Commit 75ee63ed authored by jochen's avatar jochen Committed by Commit bot

Replace IdleNotification calls with IdleNotificationDeadline

BUG=none
R=hpayer@chromium.org,dcarney@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#321981}
parent 9552587a
...@@ -1192,7 +1192,8 @@ void RenderThreadImpl::IdleHandler() { ...@@ -1192,7 +1192,8 @@ void RenderThreadImpl::IdleHandler() {
bool continue_timer = !webkit_shared_timer_suspended_; bool continue_timer = !webkit_shared_timer_suspended_;
if (blink::mainThreadIsolate() && if (blink::mainThreadIsolate() &&
!blink::mainThreadIsolate()->IdleNotification(1000)) { !blink::mainThreadIsolate()->IdleNotificationDeadline(
blink_platform_impl_->monotonicallyIncreasingTime() + 1.0)) {
continue_timer = true; continue_timer = true;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment