summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-25 21:05:26 +0000
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-25 21:05:26 +0000
commit62032c25bd0a89863af01c85c197e1fada71ac0c (patch)
tree276053205a4f63a503efa52b632872eccaa97ac1
parentcdf1631fc06845fd91ced97dd00314bf072ded70 (diff)
downloadchromium_src-62032c25bd0a89863af01c85c197e1fada71ac0c.zip
chromium_src-62032c25bd0a89863af01c85c197e1fada71ac0c.tar.gz
chromium_src-62032c25bd0a89863af01c85c197e1fada71ac0c.tar.bz2
[Mac] Fix depressed baseline in Omnibox.
A previous change converted AutocompleteTextFieldCell to rely more on -drawingRectForBounds: rather than tweaking the baseline in an ad-hoc fashion in many places. This adds a place I missed. http://crbug.com/23096 TEST=Browse to www.google.com. When putting focus in the page the url should stay at the same spot as when focus is in the Omnibox. Review URL: http://codereview.chromium.org/242010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27248 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/cocoa/autocomplete_text_field_cell.mm3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/autocomplete_text_field_cell.mm b/chrome/browser/cocoa/autocomplete_text_field_cell.mm
index c8532bd..585a1dd 100644
--- a/chrome/browser/cocoa/autocomplete_text_field_cell.mm
+++ b/chrome/browser/cocoa/autocomplete_text_field_cell.mm
@@ -329,8 +329,7 @@ const NSInteger kHintIconHorizontalPad = 5;
[self drawHintIconWithFrame:cellFrame inView:controlView];
}
- [super drawInteriorWithFrame:[self textFrameForFrame:cellFrame]
- inView:controlView];
+ [super drawInteriorWithFrame:cellFrame inView:controlView];
}
- (void)resetCursorRect:(NSRect)cellFrame inView:(NSView *)controlView {