commit | 4717933ac94bf62a680bc8e77d66e43b35b70dec | [log] [tgz] |
---|---|---|
author | avi <[email protected]> | Wed May 20 21:01:11 2015 |
committer | Commit bot <[email protected]> | Wed May 20 21:01:14 2015 |
tree | 59b57965c998b66f6941a17cffccbbf801c8291b | |
parent | aa9abe7692a3ee99b69811594938d97cb180351e [diff] [blame] |
Eliminate redundancy in the parameters to NotifyEntryChanged. BUG=369661 TEST=none Review URL: https://codereview.chromium.org/1143333003 Cr-Commit-Position: refs/heads/master@{#330800}
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc index c1556d9..1133a6f 100644 --- a/chrome/browser/ui/browser.cc +++ b/chrome/browser/ui/browser.cc
@@ -1114,8 +1114,7 @@ if (entry_count > 0) { // Send out notification so that observers are updated appropriately. new_contents->GetController().NotifyEntryChanged( - new_contents->GetController().GetEntryAtIndex(entry_count - 1), - entry_count - 1); + new_contents->GetController().GetEntryAtIndex(entry_count - 1)); } if (session_service) {