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

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
« no previous file with comments | « cc/layers/video_layer.h ('k') | cc/test/fake_layer_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/video_layer.cc
diff --git a/cc/layers/video_layer.cc b/cc/layers/video_layer.cc
index 49d6490d7d1db73de39a70047f901f344a81aa2f..b55d82acfcc1531b0df1c8312e34a54f2d5155ba 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) {
+ : provider_(provider), video_rotation_(video_rotation) {
DCHECK(provider_);
}
« no previous file with comments | « cc/layers/video_layer.h ('k') | cc/test/fake_layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698