diff options
Diffstat (limited to 'content/shell/shell.cc')
-rw-r--r-- | content/shell/shell.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/shell/shell.cc b/content/shell/shell.cc index 9c758910..71baa66 100644 --- a/content/shell/shell.cc +++ b/content/shell/shell.cc @@ -99,7 +99,7 @@ void Shell::Stop() { void Shell::UpdateNavigationControls() { int current_index = tab_contents_->GetController().GetCurrentEntryIndex(); - int max_index = tab_contents_->GetController().entry_count() - 1; + int max_index = tab_contents_->GetController().GetEntryCount() - 1; PlatformEnableUIControl(BACK_BUTTON, current_index > 0); PlatformEnableUIControl(FORWARD_BUTTON, current_index < max_index); |