| Index: ui/compositor/layer.cc
|
| diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
|
| index 7d9c07b32e4f20ca9d93f3ec46617f1606449cb6..c7625860160d33df7156e3b137c238901e1de828 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->submitted_frame_number() : 0;
|
| +}
|
| +
|
| cc::Layer* Layer::GetCcLayer() const {
|
| return cc_layer_;
|
| }
|
|
|