diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-29 00:23:55 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-29 00:23:55 +0000 |
commit | a26023822aec02831957e541b61a6bdb3fac694e (patch) | |
tree | 2fa3d0368ddc4f75d6372721c6b07d8e2d7c37af /content/shell/shell.cc | |
parent | 716476cf40c8d367b1325c5a46f4e5e886965c28 (diff) | |
download | chromium_src-a26023822aec02831957e541b61a6bdb3fac694e.zip chromium_src-a26023822aec02831957e541b61a6bdb3fac694e.tar.gz chromium_src-a26023822aec02831957e541b61a6bdb3fac694e.tar.bz2 |
Convert unix_hacker functions on NavigationController that are used by Chrome to CamelCase. This is in preparation for adding an interface around NavigationController.
BUG=98716
TBR=joi
Review URL: http://codereview.chromium.org/8989070
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115937 0039d316-1c4b-4281-b951-d872f2087c98
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); |