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

Unified Diff: cc/output/overlay_strategy_single_on_top.cc

Issue 1142343008: cc: Rework overlays to not use the ResourceProvider and pass texture size (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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_strategy_single_on_top.cc
diff --git a/cc/output/overlay_strategy_single_on_top.cc b/cc/output/overlay_strategy_single_on_top.cc
index 65b039e6052b0761d820f642677db35e9239cf1f..f9356979f6679a48e093555d2ea9b34daea02b33 100644
--- a/cc/output/overlay_strategy_single_on_top.cc
+++ b/cc/output/overlay_strategy_single_on_top.cc
@@ -11,9 +11,8 @@
namespace cc {
OverlayStrategySingleOnTop::OverlayStrategySingleOnTop(
- OverlayCandidateValidator* capability_checker,
- ResourceProvider* resource_provider)
- : OverlayStrategyCommon(capability_checker, resource_provider) {
+ OverlayCandidateValidator* capability_checker)
+ : capability_checker_(capability_checker) {
}
bool OverlayStrategySingleOnTop::Attempt(

Powered by Google App Engine
This is Rietveld 408576698