Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5833)

Unified Diff: chrome/browser/cocoa/toolbar_controller_unittest.mm

Issue 178007: [Mac] Tweaks to Omnibox metrics. (Closed)
Patch Set: Oops, fixed unit test. Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/cocoa/toolbar_controller.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/toolbar_controller_unittest.mm
diff --git a/chrome/browser/cocoa/toolbar_controller_unittest.mm b/chrome/browser/cocoa/toolbar_controller_unittest.mm
index a39481bca597eac96da06eb0b0b8413d1f2d0ce0..64532b0d88d32d51326422e8942f32a11455eb17 100644
--- a/chrome/browser/cocoa/toolbar_controller_unittest.mm
+++ b/chrome/browser/cocoa/toolbar_controller_unittest.mm
@@ -272,8 +272,9 @@ TEST_F(ToolbarControllerTest, AutocompletePopupPosition) {
EXPECT_LT(popupFrame.x(), NSMinX(locationFrame));
EXPECT_GT(popupFrame.right(), NSMaxX(locationFrame));
- // Make sure the popup frame is positioned at the bottom of the location bar.
- EXPECT_EQ(popupFrame.bottom(), NSMinY(locationFrame));
+ // Make sure the popup frame is positioned above the bottom of the
+ // location bar.
+ EXPECT_GE(popupFrame.bottom(), NSMinY(locationFrame));
}
« no previous file with comments | « chrome/browser/cocoa/toolbar_controller.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698