| Index: ui/gfx/compositor/layer.h
|
| diff --git a/ui/gfx/compositor/layer.h b/ui/gfx/compositor/layer.h
|
| index a3dcc3429ecc7d0bf5ad3099a929f2ee2c65bc70..e549bd500cd735f44d0cbe438bc5e366dde4ae8d 100644
|
| --- a/ui/gfx/compositor/layer.h
|
| +++ b/ui/gfx/compositor/layer.h
|
| @@ -48,10 +48,8 @@ class COMPOSITOR_EXPORT Layer :
|
| LAYER_HAS_TEXTURE = 1
|
| };
|
|
|
| - // |compositor| can be NULL, and will be set later when the Layer is added to
|
| - // a Compositor.
|
| - explicit Layer(Compositor* compositor);
|
| - Layer(Compositor* compositor, LayerType type);
|
| + Layer();
|
| + explicit Layer(LayerType type);
|
| virtual ~Layer();
|
|
|
| // Retrieves the Layer's compositor. The Layer will walk up its parent chain
|
|
|