| Index: cc/CCLayerImpl.cpp
|
| diff --git a/cc/CCLayerImpl.cpp b/cc/CCLayerImpl.cpp
|
| index 9068d31aaa6f76dab4e4af38643c0b6ec9595b77..6f74a0a4cad3b3b3ca2a88dc4ab42f982e0fb6ff 100644
|
| --- a/cc/CCLayerImpl.cpp
|
| +++ b/cc/CCLayerImpl.cpp
|
| @@ -313,6 +313,11 @@ void CCLayerImpl::noteLayerPropertyChangedForDescendants()
|
| m_children[i]->noteLayerPropertyChangedForSubtree();
|
| }
|
|
|
| +const char* CCLayerImpl::layerTypeAsString() const
|
| +{
|
| + return "LayerChromium";
|
| +}
|
| +
|
| void CCLayerImpl::resetAllChangeTrackingForSubtree()
|
| {
|
| m_layerPropertyChanged = false;
|
| @@ -333,11 +338,31 @@ void CCLayerImpl::resetAllChangeTrackingForSubtree()
|
| m_children[i]->resetAllChangeTrackingForSubtree();
|
| }
|
|
|
| +bool CCLayerImpl::layerIsAlwaysDamaged() const
|
| +{
|
| + return false;
|
| +}
|
| +
|
| +int CCLayerImpl::id() const
|
| +{
|
| + return m_layerId;
|
| +}
|
| +
|
| +float CCLayerImpl::opacity() const
|
| +{
|
| + return m_opacity;
|
| +}
|
| +
|
| void CCLayerImpl::setOpacityFromAnimation(float opacity)
|
| {
|
| setOpacity(opacity);
|
| }
|
|
|
| +const WebKit::WebTransformationMatrix& CCLayerImpl::transform() const
|
| +{
|
| + return m_transform;
|
| +}
|
| +
|
| void CCLayerImpl::setTransformFromAnimation(const WebTransformationMatrix& transform)
|
| {
|
| setTransform(transform);
|
|
|