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

Unified Diff: cc/output/overlay_strategy_common.h

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_common.h
diff --git a/cc/output/overlay_strategy_common.h b/cc/output/overlay_strategy_common.h
index 515a106e78201199660a22f3ac40fd04dc80027c..2dc6075278300b7a3502914b8add9f14fcfc88a7 100644
--- a/cc/output/overlay_strategy_common.h
+++ b/cc/output/overlay_strategy_common.h
@@ -17,8 +17,7 @@ class OverlayCandidate;
class CC_EXPORT OverlayStrategyCommon : public OverlayProcessor::Strategy {
public:
- OverlayStrategyCommon(OverlayCandidateValidator* capability_checker,
- ResourceProvider* resource_provider);
+ OverlayStrategyCommon();
~OverlayStrategyCommon() override;
protected:
@@ -38,9 +37,6 @@ class CC_EXPORT OverlayStrategyCommon : public OverlayProcessor::Strategy {
bool GetVideoQuadInfo(const StreamVideoDrawQuad& quad,
OverlayCandidate* quad_info);
- OverlayCandidateValidator* capability_checker_;
- ResourceProvider* resource_provider_;
-
private:
DISALLOW_COPY_AND_ASSIGN(OverlayStrategyCommon);
};

Powered by Google App Engine
This is Rietveld 408576698