| Index: chrome/browser/cocoa/location_bar/autocomplete_text_field_cell_unittest.mm
|
| diff --git a/chrome/browser/cocoa/location_bar/autocomplete_text_field_cell_unittest.mm b/chrome/browser/cocoa/location_bar/autocomplete_text_field_cell_unittest.mm
|
| index d3a4bfd569bd3735a3c1eda35bce3eaf109071bf..6dfa50bdae1d756783dfd7da7a9bd7befe952917 100644
|
| --- a/chrome/browser/cocoa/location_bar/autocomplete_text_field_cell_unittest.mm
|
| +++ b/chrome/browser/cocoa/location_bar/autocomplete_text_field_cell_unittest.mm
|
| @@ -178,6 +178,7 @@ TEST_F(AutocompleteTextFieldCellTest, TextFrame) {
|
|
|
| // The cursor frame should stay the same throughout.
|
| const NSRect cursorFrame([cell textCursorFrameForFrame:bounds]);
|
| + EXPECT_TRUE(NSEqualRects(cursorFrame, bounds));
|
|
|
| // At default settings, everything goes to the text area.
|
| textFrame = [cell textFrameForFrame:bounds];
|
| @@ -185,7 +186,7 @@ TEST_F(AutocompleteTextFieldCellTest, TextFrame) {
|
| EXPECT_TRUE(NSContainsRect(bounds, textFrame));
|
| EXPECT_EQ(NSMinX(bounds), NSMinX(textFrame));
|
| EXPECT_EQ(NSMaxX(bounds), NSMaxX(textFrame));
|
| - EXPECT_TRUE(NSEqualRects(cursorFrame, textFrame));
|
| + EXPECT_TRUE(NSContainsRect(cursorFrame, textFrame));
|
|
|
| // Small search hint leaves text frame to left.
|
| [cell setSearchHintString:@"Search hint" availableWidth:kWidth];
|
|
|