diff options
Diffstat (limited to 'cc/scrollbar_animation_controller.cc')
-rw-r--r-- | cc/scrollbar_animation_controller.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/scrollbar_animation_controller.cc b/cc/scrollbar_animation_controller.cc index 764f069..7335e2c 100644 --- a/cc/scrollbar_animation_controller.cc +++ b/cc/scrollbar_animation_controller.cc @@ -65,10 +65,10 @@ void ScrollbarAnimationController::updateScrollOffset(LayerImpl* scrollLayer) updateScrollOffsetAtTime(scrollLayer, (base::TimeTicks::Now() - base::TimeTicks()).InSecondsF()); } -IntSize ScrollbarAnimationController::getScrollLayerBounds(const LayerImpl* scrollLayer) +gfx::Size ScrollbarAnimationController::getScrollLayerBounds(const LayerImpl* scrollLayer) { if (!scrollLayer->children().size()) - return IntSize(); + return gfx::Size(); // Copy & paste from LayerTreeHostImpl... // FIXME: Hardcoding the first child here is weird. Think of // a cleaner way to get the contentBounds on the Impl side. |