| Index: cc/output/overlay_strategy_common.cc
|
| diff --git a/cc/output/overlay_strategy_common.cc b/cc/output/overlay_strategy_common.cc
|
| index 7da74caacaeb36214234c55c3febad11132f29e5..6b00f5a2a72cc418d0b16614ceec89f942f5de62 100644
|
| --- a/cc/output/overlay_strategy_common.cc
|
| +++ b/cc/output/overlay_strategy_common.cc
|
| @@ -25,8 +25,10 @@ OverlayStrategyCommon::OverlayStrategyCommon(
|
| OverlayStrategyCommon::~OverlayStrategyCommon() {
|
| }
|
|
|
| -bool OverlayStrategyCommon::Attempt(RenderPassList* render_passes_in_draw_order,
|
| - OverlayCandidateList* candidate_list) {
|
| +bool OverlayStrategyCommon::Attempt(
|
| + const OverlayProcessor::RendererState& renderer_state,
|
| + RenderPassList* render_passes_in_draw_order,
|
| + OverlayCandidateList* candidate_list) {
|
| if (!capability_checker_)
|
| return false;
|
| RenderPass* root_render_pass = render_passes_in_draw_order->back();
|
| @@ -38,8 +40,8 @@ bool OverlayStrategyCommon::Attempt(RenderPassList* render_passes_in_draw_order,
|
| const DrawQuad* draw_quad = *it;
|
| if (IsOverlayQuad(draw_quad) &&
|
| GetCandidateQuadInfo(*draw_quad, &candidate) &&
|
| - TryOverlay(capability_checker_, render_passes_in_draw_order,
|
| - candidate_list, candidate, it))
|
| + TryOverlay(renderer_state, capability_checker_,
|
| + render_passes_in_draw_order, candidate_list, candidate, it))
|
| return true;
|
| }
|
| return false;
|
|
|