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 07dc6c8f51558136e5ddf376f71f8f5c274b45df..1606120fdba7e150ec017923d4dfebd45276db02 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -2115,6 +2115,11 @@ bool LayerTreeHostImpl::InitializeRenderer( |
client_->SetMaxSwapsPendingOnImplThread(max_frames_pending); |
client_->OnCanDrawStateChanged(CanDraw()); |
+ // There will not be anything to draw here, so set high res |
+ // to avoid checkerboards, typically when we are recovering |
+ // from lost context. |
+ active_tree_->SetRequiresHighResToDraw(); |
+ |
return true; |
} |