Index: cc/output/overlay_processor.cc |
diff --git a/cc/output/overlay_processor.cc b/cc/output/overlay_processor.cc |
index 69368a1bd5d2f6ec8d9f9698e7d4f0df79701cda..a97623a4c2fa4917e36ea62440a6a6dd0dda4f4a 100644 |
--- a/cc/output/overlay_processor.cc |
+++ b/cc/output/overlay_processor.cc |
@@ -27,10 +27,13 @@ OverlayProcessor::~OverlayProcessor() {} |
void OverlayProcessor::ProcessForOverlays(ResourceProvider* resource_provider, |
RenderPassList* render_passes, |
- OverlayCandidateList* candidates) { |
+ OverlayCandidateList* candidates, |
+ gfx::Rect* damage_rect) { |
for (auto strategy : strategies_) { |
- if (strategy->Attempt(resource_provider, render_passes, candidates)) |
+ if (strategy->Attempt(resource_provider, render_passes, candidates, |
+ damage_rect)) { |
return; |
+ } |
} |
} |