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

Unified Diff: cc/layers/video_layer.cc

Issue 1783613004: CC Animation: Erase cc::LayerSettings everywhere. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@eraseandroid
Patch Set: Rebase. Created 4 years, 9 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/layers/video_layer.cc
diff --git a/cc/layers/video_layer.cc b/cc/layers/video_layer.cc
index 49d6490d7d1db73de39a70047f901f344a81aa2f..12764f8acc2cbdb1173c3514f5af5f7321c5e093 100644
--- a/cc/layers/video_layer.cc
+++ b/cc/layers/video_layer.cc
@@ -9,16 +9,14 @@
namespace cc {
scoped_refptr<VideoLayer> VideoLayer::Create(
- const LayerSettings& settings,
VideoFrameProvider* provider,
media::VideoRotation video_rotation) {
- return make_scoped_refptr(new VideoLayer(settings, provider, video_rotation));
+ return make_scoped_refptr(new VideoLayer(provider, video_rotation));
}
-VideoLayer::VideoLayer(const LayerSettings& settings,
- VideoFrameProvider* provider,
+VideoLayer::VideoLayer(VideoFrameProvider* provider,
media::VideoRotation video_rotation)
- : Layer(settings), provider_(provider), video_rotation_(video_rotation) {
+ : Layer(), provider_(provider), video_rotation_(video_rotation) {
DCHECK(provider_);
}

Powered by Google App Engine
This is Rietveld 408576698