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

Unified Diff: cc/layers/io_surface_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/io_surface_layer.cc
diff --git a/cc/layers/io_surface_layer.cc b/cc/layers/io_surface_layer.cc
index 7fb3f3f111af7c3aa7133e43df5c58552d3b4bf7..b661588a6c534998c0e9f3cc393cb16cafd5630f 100644
--- a/cc/layers/io_surface_layer.cc
+++ b/cc/layers/io_surface_layer.cc
@@ -10,14 +10,11 @@
namespace cc {
-scoped_refptr<IOSurfaceLayer> IOSurfaceLayer::Create(
- const LayerSettings& settings) {
- return make_scoped_refptr(new IOSurfaceLayer(settings));
+scoped_refptr<IOSurfaceLayer> IOSurfaceLayer::Create() {
+ return make_scoped_refptr(new IOSurfaceLayer());
}
-IOSurfaceLayer::IOSurfaceLayer(const LayerSettings& settings)
- : Layer(settings), io_surface_id_(0) {
-}
+IOSurfaceLayer::IOSurfaceLayer() : Layer(), io_surface_id_(0) {}
IOSurfaceLayer::~IOSurfaceLayer() {}

Powered by Google App Engine
This is Rietveld 408576698