Chromium Code Reviews| Index: cc/layer.cc |
| diff --git a/cc/layer.cc b/cc/layer.cc |
| index bc0280302b893bb30a3cbf9c6431ef9060900f3c..be044a32c93f0de8bf3c95cad99584a4a2923a07 100644 |
| --- a/cc/layer.cc |
| +++ b/cc/layer.cc |
| @@ -396,6 +396,10 @@ bool Layer::OpacityIsAnimating() const { |
| return layer_animation_controller_->IsAnimatingProperty(Animation::Opacity); |
| } |
| +bool Layer::DoNotSkipOnZeroOpacity() const { |
| + return false; |
| +} |
| + |
| void Layer::SetContentsOpaque(bool opaque) { |
| if (contents_opaque_ == opaque) |
| return; |