| Index: ui/compositor/layer.h
|
| diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
|
| index 5565e0843524d13903515fb9728c9d57b39811ac..f8e625a44c0422d5f29aa97b8584d78ed80356ba 100644
|
| --- a/ui/compositor/layer.h
|
| +++ b/ui/compositor/layer.h
|
| @@ -224,6 +224,12 @@ class COMPOSITOR_EXPORT Layer
|
| const Layer* target,
|
| gfx::Point* point);
|
|
|
| + // Converts a transform to be relative to the given |ancestor|. Returns
|
| + // whether success (that is, whether the given ancestor was really an
|
| + // ancestor of this layer).
|
| + bool GetTargetTransformRelativeTo(const Layer* ancestor,
|
| + gfx::Transform* transform) const;
|
| +
|
| // Converts a ui::Layer's transform to the transform on the corresponding
|
| // cc::Layer.
|
| static gfx::Transform ConvertTransformToCCTransform(
|
| @@ -324,9 +330,6 @@ class COMPOSITOR_EXPORT Layer
|
| bool ConvertPointForAncestor(const Layer* ancestor, gfx::Point* point) const;
|
| bool ConvertPointFromAncestor(const Layer* ancestor, gfx::Point* point) const;
|
|
|
| - bool GetTargetTransformRelativeTo(const Layer* ancestor,
|
| - gfx::Transform* transform) const;
|
| -
|
| // Following are invoked from the animation or if no animation exists to
|
| // update the values immediately.
|
| void SetBoundsImmediately(const gfx::Rect& bounds);
|
|
|