| Index: cc/output/overlay_strategy_all_or_nothing.cc
|
| diff --git a/cc/output/overlay_strategy_all_or_nothing.cc b/cc/output/overlay_strategy_all_or_nothing.cc
|
| index 3550d4f508be4ff3eac46caac0eb28c419892d66..40c58cd0a4e26816f661aa6cc9e97720c31cf8df 100644
|
| --- a/cc/output/overlay_strategy_all_or_nothing.cc
|
| +++ b/cc/output/overlay_strategy_all_or_nothing.cc
|
| @@ -17,7 +17,8 @@ OverlayStrategyAllOrNothing::OverlayStrategyAllOrNothing(
|
|
|
| OverlayStrategyAllOrNothing::~OverlayStrategyAllOrNothing() {}
|
|
|
| -bool OverlayStrategyAllOrNothing::Attempt(RenderPassList* render_passes,
|
| +bool OverlayStrategyAllOrNothing::Attempt(ResourceProvider* resource_provider,
|
| + RenderPassList* render_passes,
|
| OverlayCandidateList* candidates) {
|
| QuadList& quad_list = render_passes->back()->quad_list;
|
| OverlayCandidateList new_candidates;
|
| @@ -25,7 +26,7 @@ bool OverlayStrategyAllOrNothing::Attempt(RenderPassList* render_passes,
|
|
|
| for (const DrawQuad* quad : quad_list) {
|
| OverlayCandidate candidate;
|
| - if (!OverlayCandidate::FromDrawQuad(quad, &candidate))
|
| + if (!OverlayCandidate::FromDrawQuad(resource_provider, quad, &candidate))
|
| return false;
|
| candidate.plane_z_order = next_z_order--;
|
| new_candidates.push_back(candidate);
|
|
|