diff options
Diffstat (limited to 'ui/gfx/compositor/layer.h')
-rw-r--r-- | ui/gfx/compositor/layer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/gfx/compositor/layer.h b/ui/gfx/compositor/layer.h index 72faad1..5b2418c 100644 --- a/ui/gfx/compositor/layer.h +++ b/ui/gfx/compositor/layer.h @@ -55,6 +55,9 @@ class Layer { const Compositor* compositor() const { return compositor_; } Compositor* compositor() { return compositor_; } + // Passing NULL will cause the layer to get a texture from its compositor. + void SetTexture(ui::Texture* texture); + // Resets the bitmap of the texture. void SetBitmap(const SkBitmap& bitmap, const gfx::Point& origin); |