| Index: cc/layers/layer.cc
|
| diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc
|
| index 1a22d9254a9b5bded9b1560c4769760efa57779d..92264f6adfb5a9f91ddece64d6d83a61384c26a5 100644
|
| --- a/cc/layers/layer.cc
|
| +++ b/cc/layers/layer.cc
|
| @@ -654,7 +654,7 @@ void Layer::RemoveClipChild(Layer* child) {
|
| SetNeedsCommit();
|
| }
|
|
|
| -void Layer::SetScrollOffset(gfx::Vector2d scroll_offset) {
|
| +void Layer::SetScrollOffset(gfx::Vector2dF scroll_offset) {
|
| DCHECK(IsPropertyChangeAllowed());
|
|
|
| if (scroll_offset_ == scroll_offset)
|
| @@ -663,7 +663,7 @@ void Layer::SetScrollOffset(gfx::Vector2d scroll_offset) {
|
| SetNeedsCommit();
|
| }
|
|
|
| -void Layer::SetScrollOffsetFromImplSide(const gfx::Vector2d& scroll_offset) {
|
| +void Layer::SetScrollOffsetFromImplSide(const gfx::Vector2dF& scroll_offset) {
|
| DCHECK(IsPropertyChangeAllowed());
|
| // This function only gets called during a BeginMainFrame, so there
|
| // is no need to call SetNeedsUpdate here.
|
| @@ -964,7 +964,7 @@ void Layer::PushPropertiesTo(LayerImpl* layer) {
|
| } else {
|
| layer->SetScrollOffsetAndDelta(
|
| scroll_offset_, layer->ScrollDelta() - layer->sent_scroll_delta());
|
| - layer->SetSentScrollDelta(gfx::Vector2d());
|
| + layer->SetSentScrollDelta(gfx::Vector2dF());
|
| }
|
|
|
| // Wrap the copy_requests_ in a PostTask to the main thread.
|
|
|