Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: cc/output/overlay_processor.cc

Issue 1387283002: cc: Remove redundant is_overlay arguments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Undo changes on overlay_strategy_single_on_top.cc Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/output/overlay_processor.h ('k') | cc/output/overlay_strategy_all_or_nothing.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/overlay_processor.cc
diff --git a/cc/output/overlay_processor.cc b/cc/output/overlay_processor.cc
index 789fc13d7d076b7ec4db333646c7e10d21ff912e..69368a1bd5d2f6ec8d9f9698e7d4f0df79701cda 100644
--- a/cc/output/overlay_processor.cc
+++ b/cc/output/overlay_processor.cc
@@ -25,10 +25,11 @@ void OverlayProcessor::Initialize() {
OverlayProcessor::~OverlayProcessor() {}
-void OverlayProcessor::ProcessForOverlays(RenderPassList* render_passes,
+void OverlayProcessor::ProcessForOverlays(ResourceProvider* resource_provider,
+ RenderPassList* render_passes,
OverlayCandidateList* candidates) {
for (auto strategy : strategies_) {
- if (strategy->Attempt(render_passes, candidates))
+ if (strategy->Attempt(resource_provider, render_passes, candidates))
return;
}
}
« no previous file with comments | « cc/output/overlay_processor.h ('k') | cc/output/overlay_strategy_all_or_nothing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698