summaryrefslogtreecommitdiffstats
path: root/chrome/browser/find_in_page_controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/find_in_page_controller.cc')
-rw-r--r--chrome/browser/find_in_page_controller.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/find_in_page_controller.cc b/chrome/browser/find_in_page_controller.cc
index fabc772..baa4973 100644
--- a/chrome/browser/find_in_page_controller.cc
+++ b/chrome/browser/find_in_page_controller.cc
@@ -387,7 +387,7 @@ void FindInPageController::AnimationProgressed(
// First, we calculate how many pixels to slide the window.
find_dialog_animation_offset_ =
static_cast<int>((1.0 - animation_->GetCurrentValue()) *
- view_->GetHeight());
+ view_->height());
// This call makes sure it appears in the right location, the size and shape
// is correct and that it slides in the right direction.