Index: cc/output/overlay_processor.cc |
diff --git a/cc/output/overlay_processor.cc b/cc/output/overlay_processor.cc |
index 8a1a9e7fd73cd727fc971973b8612d64c85c77b3..47358e3b81ef76640e3dbcfec0b1af2bcbc059d6 100644 |
--- a/cc/output/overlay_processor.cc |
+++ b/cc/output/overlay_processor.cc |
@@ -93,7 +93,8 @@ void OverlayProcessor::ProcessForOverlays( |
const RenderPassFilterList& render_pass_background_filters, |
OverlayCandidateList* candidates, |
CALayerOverlayList* ca_layer_overlays, |
- gfx::Rect* damage_rect) { |
+ gfx::Rect* damage_rect, |
+ std::vector<gfx::Rect>* content_bounds) { |
#if defined(OS_ANDROID) |
// Be sure to send out notifications, regardless of whether we get to |
// processing for overlays or not. If we don't, then we should notify that |
@@ -120,7 +121,8 @@ void OverlayProcessor::ProcessForOverlays( |
// Only if that fails, attempt hardware overlay strategies. |
for (const auto& strategy : strategies_) { |
- if (!strategy->Attempt(resource_provider, render_pass, candidates)) |
+ if (!strategy->Attempt(resource_provider, render_pass, candidates, |
+ content_bounds)) |
continue; |
UpdateDamageRect(candidates, damage_rect); |