| Index: ui/compositor/layer.cc
|
| diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
|
| index 7d9c07b32e4f20ca9d93f3ec46617f1606449cb6..ee05f06a294984da7eb23739e9deb1ec5094c9be 100644
|
| --- a/ui/compositor/layer.cc
|
| +++ b/ui/compositor/layer.cc
|
| @@ -1082,6 +1082,11 @@ LayerAnimatorCollection* Layer::GetLayerAnimatorCollection() {
|
| return compositor ? compositor->layer_animator_collection() : NULL;
|
| }
|
|
|
| +int Layer::GetFrameNumber() {
|
| + Compositor* compositor = GetCompositor();
|
| + return compositor ? compositor->GetFrameNumber() : 0;
|
| +}
|
| +
|
| cc::Layer* Layer::GetCcLayer() const {
|
| return cc_layer_;
|
| }
|
|
|