Index: cc/trees/thread_proxy.cc |
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc |
index db69b8203def40e71e3bf89575907a0be09da1ee..92516e69ef36d65616776d2cf13b35be3d283d47 100644 |
--- a/cc/trees/thread_proxy.cc |
+++ b/cc/trees/thread_proxy.cc |
@@ -1093,6 +1093,12 @@ DrawResult ThreadProxy::ScheduledActionDrawAndSwapForced() { |
return DrawSwapInternal(forced_draw); |
} |
+void ThreadProxy::ScheduledActionInvalidateOutputSurface() { |
+ TRACE_EVENT0("cc", "ThreadProxy::ScheduledActionInvalidateOutputSurface"); |
+ DCHECK(impl().layer_tree_host_impl->output_surface()); |
+ impl().layer_tree_host_impl->output_surface()->Invalidate(); |
+} |
+ |
void ThreadProxy::DidAnticipatedDrawTimeChange(base::TimeTicks time) { |
if (impl().current_resource_update_controller) |
impl().current_resource_update_controller->PerformMoreUpdates(time); |