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 2278a4ac23330a062951732300ed9ce145b70cb4..8e33eba86bc063d34a3d5c48b8586398a316e6d7 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -2117,6 +2117,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; |
} |