Index: cc/surfaces/display.cc |
diff --git a/cc/surfaces/display.cc b/cc/surfaces/display.cc |
index e659ea4d3f456b98bfb1ad93193585e9ea7122b9..b8d984837b08491066f66891bb6755d237351378 100644 |
--- a/cc/surfaces/display.cc |
+++ b/cc/surfaces/display.cc |
@@ -197,11 +197,12 @@ void Display::InitializeRenderer() { |
renderer_ = std::move(renderer); |
} |
+ renderer_->Initialize(); |
renderer_->SetVisible(visible_); |
// TODO(jbauman): Outputting an incomplete quad list doesn't work when using |
// overlays. |
- bool output_partial_list = renderer_->Capabilities().using_partial_swap && |
+ bool output_partial_list = renderer_->use_partial_swap() && |
!output_surface_->GetOverlayCandidateValidator(); |
aggregator_.reset(new SurfaceAggregator( |
surface_manager_, resource_provider_.get(), output_partial_list)); |