summaryrefslogtreecommitdiffstats
path: root/cc/thread_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/thread_proxy.cc')
-rw-r--r--cc/thread_proxy.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/cc/thread_proxy.cc b/cc/thread_proxy.cc
index 2d24429..86806cd 100644
--- a/cc/thread_proxy.cc
+++ b/cc/thread_proxy.cc
@@ -847,9 +847,13 @@ ScheduledActionDrawAndSwapResult ThreadProxy::scheduledActionDrawAndSwapInternal
}
m_readbackRequestOnImplThread->completion.signal();
m_readbackRequestOnImplThread = 0;
- } else if (drawFrame)
+ } else if (drawFrame) {
result.didSwap = m_layerTreeHostImpl->swapBuffers();
+ if (frame.containsIncompleteTile)
+ didSwapUseIncompleteTileOnImplThread();
+ }
+
// Tell the main thread that the the newly-commited frame was drawn.
if (m_nextFrameIsNewlyCommittedFrameOnImplThread) {
m_nextFrameIsNewlyCommittedFrameOnImplThread = false;