summaryrefslogtreecommitdiffstats
path: root/ui/gfx/compositor/layer_animation_element.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/compositor/layer_animation_element.h')
-rw-r--r--ui/gfx/compositor/layer_animation_element.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/gfx/compositor/layer_animation_element.h b/ui/gfx/compositor/layer_animation_element.h
index d38bc42..c059f16 100644
--- a/ui/gfx/compositor/layer_animation_element.h
+++ b/ui/gfx/compositor/layer_animation_element.h
@@ -30,8 +30,10 @@ class COMPOSITOR_EXPORT LayerAnimationElement {
};
struct TargetValue {
- public:
TargetValue();
+ // Initializes the target value to match the delegate. NULL may be supplied.
+ explicit TargetValue(const LayerAnimationDelegate* delegate);
+
gfx::Rect bounds;
Transform transform;
float opacity;