| Index: cc/layers/layer_impl.cc
|
| diff --git a/cc/layers/layer_impl.cc b/cc/layers/layer_impl.cc
|
| index 7668becc132ddf2dc3ac0db94a2f448d31f3284c..940732f193c2c3bd450f648aead6d25696be6e6d 100644
|
| --- a/cc/layers/layer_impl.cc
|
| +++ b/cc/layers/layer_impl.cc
|
| @@ -1041,21 +1041,6 @@ void LayerImpl::SetContentsScale(float contents_scale_x,
|
| NoteLayerPropertyChanged();
|
| }
|
|
|
| -void LayerImpl::CalculateContentsScale(float ideal_contents_scale,
|
| - float device_scale_factor,
|
| - float page_scale_factor,
|
| - float maximum_animation_contents_scale,
|
| - bool animating_transform_to_screen,
|
| - float* contents_scale_x,
|
| - float* contents_scale_y,
|
| - gfx::Size* content_bounds) {
|
| - // Base LayerImpl has all of its content scales and content bounds pushed
|
| - // from its Layer during commit and just reuses those values as-is.
|
| - *contents_scale_x = this->contents_scale_x();
|
| - *contents_scale_y = this->contents_scale_y();
|
| - *content_bounds = this->content_bounds();
|
| -}
|
| -
|
| void LayerImpl::SetScrollOffsetDelegate(
|
| ScrollOffsetDelegate* scroll_offset_delegate) {
|
| // Having both a scroll parent and a scroll offset delegate is unsupported.
|
|
|