Index: cc/trees/layer_tree_impl.h |
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h |
index e1b2335a8f9d81504a3c34e6585b5358a44e8b90..6e5994bb5452cbb3d54381c715cc843dcb53e55f 100644 |
--- a/cc/trees/layer_tree_impl.h |
+++ b/cc/trees/layer_tree_impl.h |
@@ -136,8 +136,8 @@ class CC_EXPORT LayerTreeImpl { |
LayerImpl* InnerViewportScrollLayer() const; |
// This function may return NULL, it is the caller's responsibility to check. |
LayerImpl* OuterViewportScrollLayer() const; |
- gfx::Vector2dF TotalScrollOffset() const; |
- gfx::Vector2dF TotalMaxScrollOffset() const; |
+ gfx::ScrollOffset TotalScrollOffset() const; |
+ gfx::ScrollOffset TotalMaxScrollOffset() const; |
gfx::Vector2dF TotalScrollDelta() const; |
LayerImpl* InnerViewportContainerLayer() const; |
@@ -247,7 +247,7 @@ class CC_EXPORT LayerTreeImpl { |
void SetRootLayerScrollOffsetDelegate( |
LayerScrollOffsetDelegate* root_layer_scroll_offset_delegate); |
void UpdateScrollOffsetDelegate(); |
- gfx::Vector2dF GetDelegatedScrollOffset(LayerImpl* layer); |
+ gfx::ScrollOffset GetDelegatedScrollOffset(LayerImpl* layer); |
// Call this function when you expect there to be a swap buffer. |
// See swap_promise.h for how to use SwapPromise. |