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

Unified Diff: cc/output/overlay_processor.h

Issue 1387283002: cc: Remove redundant is_overlay arguments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More mojo changes 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
Index: cc/output/overlay_processor.h
diff --git a/cc/output/overlay_processor.h b/cc/output/overlay_processor.h
index d4e1369e427f37f583522cfd759de7937065aa02..48ffe6b5ad56dc1969fa5069146321c98cf4ed1f 100644
--- a/cc/output/overlay_processor.h
+++ b/cc/output/overlay_processor.h
@@ -24,7 +24,8 @@ class CC_EXPORT OverlayProcessor {
// current set of render passes. Returns true if the strategy was successful
// and adds any additional passes necessary to represent overlays to
// |render_passes|.
- virtual bool Attempt(RenderPassList* render_passes,
+ virtual bool Attempt(ResourceProvider* resource_provider,
+ RenderPassList* render_passes,
OverlayCandidateList* candidates) = 0;
};
typedef ScopedPtrVector<Strategy> StrategyList;
@@ -34,7 +35,8 @@ class CC_EXPORT OverlayProcessor {
// Virtual to allow testing different strategies.
virtual void Initialize();
- void ProcessForOverlays(RenderPassList* render_passes,
+ void ProcessForOverlays(ResourceProvider* resource_provider,
+ RenderPassList* render_passes,
OverlayCandidateList* candidates);
protected:

Powered by Google App Engine
This is Rietveld 408576698