summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/extension_installed_bubble_controller_unittest.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/extension_installed_bubble_controller_unittest.mm')
-rw-r--r--chrome/browser/cocoa/extension_installed_bubble_controller_unittest.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/extension_installed_bubble_controller_unittest.mm b/chrome/browser/cocoa/extension_installed_bubble_controller_unittest.mm
index ad68c85..9113960 100644
--- a/chrome/browser/cocoa/extension_installed_bubble_controller_unittest.mm
+++ b/chrome/browser/cocoa/extension_installed_bubble_controller_unittest.mm
@@ -141,7 +141,7 @@ TEST_F(ExtensionInstalledBubbleControllerTest, PageActionTest) {
2 * extension_installed_bubble::kInnerVerticalMargin +
[controller getExtensionInstalledMsgFrame].size.height +
[controller getExtensionInstalledInfoMsgFrame].size.height +
- [controller getPageActionInfoMsgFrame].size.height;
+ [controller getExtraInfoMsgFrame].size.height;
EXPECT_EQ(height, correctHeight);
[controller setMessageFrames:height];
@@ -149,7 +149,7 @@ TEST_F(ExtensionInstalledBubbleControllerTest, PageActionTest) {
// Bottom message should be kOuterVerticalMargin pixels above window edge.
EXPECT_EQ(msg3Frame.origin.y,
extension_installed_bubble::kOuterVerticalMargin);
- NSRect msg2Frame = [controller getPageActionInfoMsgFrame];
+ NSRect msg2Frame = [controller getExtraInfoMsgFrame];
// Pageaction message should be kInnerVerticalMargin pixels above bottom msg.
EXPECT_EQ(msg2Frame.origin.y,
msg3Frame.origin.y + msg3Frame.size.height +