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

Unified Diff: cc/trees/thread_proxy.cc

Issue 189553007: cc: modify the waiting condition of forced commit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | « cc/scheduler/scheduler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/thread_proxy.cc
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc
index bbf4075f8aca3d41df921d0e6841561957b3dc92..2b399df2f8c12630adb9d4c1eeadc74033f423c3 100644
--- a/cc/trees/thread_proxy.cc
+++ b/cc/trees/thread_proxy.cc
@@ -207,7 +207,7 @@ void ThreadProxy::ForceCommitForReadbackOnImplThread(
impl().readback_request = request;
impl().scheduler->SetNeedsForcedCommitForReadback();
- if (impl().scheduler->CommitPending()) {
+ if (impl().scheduler->IsBeginMainFrameSent()) {
begin_main_frame_sent_completion->Signal();
return;
}
« no previous file with comments | « cc/scheduler/scheduler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698