summaryrefslogtreecommitdiffstats
path: root/cc/layers/io_surface_layer.h
diff options
context:
space:
mode:
authorloyso <loyso@chromium.org>2015-05-24 20:26:44 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-25 03:27:26 +0000
commita6edaaff54e9b948c64a896edff992c04e63205d (patch)
treeaf7fe7c050ec5d675d33d3d92acb69170b0a29ed /cc/layers/io_surface_layer.h
parent6f6374ee312ec0f8e07e208056a8f9135d97087f (diff)
downloadchromium_src-a6edaaff54e9b948c64a896edff992c04e63205d.zip
chromium_src-a6edaaff54e9b948c64a896edff992c04e63205d.tar.gz
chromium_src-a6edaaff54e9b948c64a896edff992c04e63205d.tar.bz2
CC: Plumb LayerSettings parameter for cc::Layer construction.
Next episode: https://codereview.chromium.org/1101823002/ This is a prerequisite to implement compositor animation timelines. https://codereview.chromium.org/947033002/ BUG=394777 R=ajuma@chromium.org R=vollick@chromium.org R=piman@chromium.org R=danakj@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1122393003 Cr-Commit-Position: refs/heads/master@{#331256}
Diffstat (limited to 'cc/layers/io_surface_layer.h')
-rw-r--r--cc/layers/io_surface_layer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/layers/io_surface_layer.h b/cc/layers/io_surface_layer.h
index 90bcf3e..9c5dd8f 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;