Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2145)

Unified Diff: content/test/fake_renderer_scheduler.cc

Issue 847883002: Reland "Throttle resource message requests during user interaction" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pull out ThreadChecker fix Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/test/fake_renderer_scheduler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/fake_renderer_scheduler.cc
diff --git a/content/test/fake_renderer_scheduler.cc b/content/test/fake_renderer_scheduler.cc
index 2e20b7f9b46c5dfc56d6fd0f2a659f7a10c61168..9c6d07e77c8211cd6a13e7287101abc9a446af90 100644
--- a/content/test/fake_renderer_scheduler.cc
+++ b/content/test/fake_renderer_scheduler.cc
@@ -45,6 +45,10 @@ void FakeRendererScheduler::DidReceiveInputEventOnCompositorThread(
void FakeRendererScheduler::DidAnimateForInputOnCompositorThread() {
}
+bool FakeRendererScheduler::IsHighPriorityWorkAnticipated() {
+ return false;
+}
+
bool FakeRendererScheduler::ShouldYieldForHighPriorityWork() {
return false;
}
« no previous file with comments | « content/test/fake_renderer_scheduler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698