| Index: cc/output/overlay_processor.cc
|
| diff --git a/cc/output/overlay_processor.cc b/cc/output/overlay_processor.cc
|
| index bd3097fc37595bd71c5282576631101ec783f0d7..efadd1540855aa090a09f791495bbf6d61db0eb1 100644
|
| --- a/cc/output/overlay_processor.cc
|
| +++ b/cc/output/overlay_processor.cc
|
| @@ -91,6 +91,7 @@ bool OverlayProcessor::ProcessForCALayers(
|
| bool OverlayProcessor::ProcessForDCLayers(
|
| ResourceProvider* resource_provider,
|
| RenderPass* render_pass,
|
| + bool was_reshaped,
|
| const base::flat_map<int, FilterOperations*>& render_pass_filters,
|
| const base::flat_map<int, FilterOperations*>&
|
| render_pass_background_filters,
|
| @@ -102,7 +103,8 @@ bool OverlayProcessor::ProcessForDCLayers(
|
| if (!overlay_validator || !overlay_validator->AllowDCLayerOverlays())
|
| return false;
|
|
|
| - dc_processor_.Process(resource_provider, gfx::RectF(render_pass->output_rect),
|
| + dc_processor_.Process(resource_provider, was_reshaped,
|
| + gfx::RectF(render_pass->output_rect),
|
| &render_pass->quad_list, &overlay_damage_rect_,
|
| damage_rect, dc_layer_overlays);
|
|
|
| @@ -113,6 +115,7 @@ bool OverlayProcessor::ProcessForDCLayers(
|
| void OverlayProcessor::ProcessForOverlays(
|
| ResourceProvider* resource_provider,
|
| RenderPass* render_pass,
|
| + bool was_reshaped,
|
| const base::flat_map<int, FilterOperations*>& render_pass_filters,
|
| const base::flat_map<int, FilterOperations*>&
|
| render_pass_background_filters,
|
| @@ -148,9 +151,9 @@ void OverlayProcessor::ProcessForOverlays(
|
| return;
|
| }
|
|
|
| - if (ProcessForDCLayers(resource_provider, render_pass, render_pass_filters,
|
| - render_pass_background_filters, candidates,
|
| - dc_layer_overlays, damage_rect)) {
|
| + if (ProcessForDCLayers(resource_provider, render_pass, was_reshaped,
|
| + render_pass_filters, render_pass_background_filters,
|
| + candidates, dc_layer_overlays, damage_rect)) {
|
| return;
|
| }
|
|
|
|
|