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

Unified Diff: cc/layers/io_surface_layer.h

Issue 1122393003: CC: Plumb LayerSettings parameter for cc::Layer construction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
« no previous file with comments | « cc/layers/image_layer.cc ('k') | cc/layers/io_surface_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/io_surface_layer.h
diff --git a/cc/layers/io_surface_layer.h b/cc/layers/io_surface_layer.h
index 90bcf3e8323fcab1b128bedf0be976bc880d5956..9c5dd8f8d0923784fb749398323eb9fc661089bc 100644
--- a/cc/layers/io_surface_layer.h
+++ b/cc/layers/io_surface_layer.h
@@ -12,7 +12,7 @@ namespace cc {
class CC_EXPORT IOSurfaceLayer : public Layer {
public:
- static scoped_refptr<IOSurfaceLayer> Create();
+ static scoped_refptr<IOSurfaceLayer> Create(const LayerSettings& settings);
void SetIOSurfaceProperties(uint32_t io_surface_id, const gfx::Size& size);
@@ -23,7 +23,7 @@ class CC_EXPORT IOSurfaceLayer : public Layer {
protected:
bool HasDrawableContent() const override;
- IOSurfaceLayer();
+ explicit IOSurfaceLayer(const LayerSettings& settings);
private:
~IOSurfaceLayer() override;
« no previous file with comments | « cc/layers/image_layer.cc ('k') | cc/layers/io_surface_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698