summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-16 11:22:53 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-16 11:22:53 +0000
commit403d5aab152f4a778df09571ed99d3bd6b440388 (patch)
tree3cc375cc0cbec463b013c071d813b1469ea12806 /chrome
parent444c0ca9dc36f2032d7395da24cb75c3add3e955 (diff)
downloadchromium_src-403d5aab152f4a778df09571ed99d3bd6b440388.zip
chromium_src-403d5aab152f4a778df09571ed99d3bd6b440388.tar.gz
chromium_src-403d5aab152f4a778df09571ed99d3bd6b440388.tar.bz2
revert the revert
Revert "Revert "Revert part of r35312 now that ChromeOS is fixed."" This reverts commit 6717ffb85f34b1de756f9a703a68ab7ef8336651. TBR=evan@chromium.org BUG=none TEST=unit_tests should pass except for chromeos build. Review URL: http://codereview.chromium.org/553007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36455 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/page_menu_model_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/page_menu_model_unittest.cc b/chrome/browser/page_menu_model_unittest.cc
index f63363e..dbac3aa 100644
--- a/chrome/browser/page_menu_model_unittest.cc
+++ b/chrome/browser/page_menu_model_unittest.cc
@@ -27,8 +27,8 @@ TEST_F(PageMenuModelTest, Basics) {
// delegate is internal, it doesn't use the one we pass in.
model.ActivatedAt(0);
EXPECT_TRUE(model.IsEnabledAt(0));
- model.ActivatedAt(itemCount - 1);
- EXPECT_TRUE(model.IsEnabledAt(itemCount - 1));
+ model.ActivatedAt(3);
+ EXPECT_TRUE(model.IsEnabledAt(3));
EXPECT_EQ(delegate_.execute_count_, 2);
EXPECT_EQ(delegate_.enable_count_, 2);