Index: cc/trees/layer_tree_host_impl.cc |
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc |
index 68a905eb15f888884d60e0098edb08a14064ba28..303cd0e070d44ad8bc0dfc5bd3337624f07e0d47 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -296,7 +296,7 @@ void LayerTreeHostImpl::BeginCommit() { |
// Ensure all textures are returned so partial texture updates can happen |
// during the commit. Impl-side-painting doesn't upload during commits, so |
// is unaffected. |
- if (!settings_.impl_side_painting) |
+ if (!settings_.impl_side_painting && output_surface_) |
output_surface_->ForceReclaimResources(); |
if (UsePendingTreeForSync()) |