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

Unified Diff: cc/trees/thread_proxy.cc

Issue 22469002: cc: Fix aborted commits with evicted textures (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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
Index: cc/trees/thread_proxy.cc
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc
index 39cdceb91420f9d1040c3f7e542a7c1fddd1c775..179fe2c33b7ae9f4bc4aa535e11c6b38cac19d10 100644
--- a/cc/trees/thread_proxy.cc
+++ b/cc/trees/thread_proxy.cc
@@ -897,6 +897,7 @@ void ThreadProxy::BeginFrameAbortedByMainThreadOnImplThread(bool did_handle) {
// values were applied and committed.
if (did_handle) {
layer_tree_host_impl_->active_tree()->ApplySentScrollAndScaleDeltas();
+ layer_tree_host_impl_->active_tree()->ResetContentsTexturesPurged();
SetInputThrottledUntilCommitOnImplThread(false);
}
scheduler_on_impl_thread_->BeginFrameAbortedByMainThread(did_handle);
« cc/trees/layer_tree_host_unittest.cc ('K') | « cc/trees/layer_tree_host_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698