| Index: chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm
|
| diff --git a/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm b/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm
|
| index 58028b62e4b7a2ebdb8a317dd24a0e813a3f8454..b48bb4ac7623f7732ad77a45a97c108267db2f7c 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm
|
| +++ b/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm
|
| @@ -57,7 +57,12 @@ NSColor* ColorWithRGBBytes(int rr, int gg, int bb) {
|
|
|
| EVBubbleDecoration::EVBubbleDecoration(LocationIconDecoration* location_icon)
|
| : location_icon_(location_icon) {
|
| - if (!ui::MaterialDesignController::IsModeMaterial()) {
|
| + if (ui::MaterialDesignController::IsModeMaterial()) {
|
| + // On Retina the text label is 1px above the Omnibox textfield's text
|
| + // baseline. If the Omnibox textfield also drew the label the baselines
|
| + // would align.
|
| + SetRetinaBaselineOffset(0.5);
|
| + } else {
|
| // Color tuples stolen from location_bar_view_gtk.cc.
|
| SetTextColor(ColorWithRGBBytes(0x07, 0x95, 0x00));
|
| }
|
|
|