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

Unified Diff: chrome/browser/cocoa/location_bar/location_icon_decoration.mm

Issue 3037005: Merge 52385 - [Mac] Bring back the omnibox globe for an encore.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/466/src/
Patch Set: Created 10 years, 5 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
Index: chrome/browser/cocoa/location_bar/location_icon_decoration.mm
===================================================================
--- chrome/browser/cocoa/location_bar/location_icon_decoration.mm (revision 52715)
+++ chrome/browser/cocoa/location_bar/location_icon_decoration.mm (working copy)
@@ -30,7 +30,7 @@
NSImage* image = GetImage();
if (image) {
const CGFloat image_width = [image size].width;
- if (image_width >= width)
+ if (image_width <= width)
return image_width;
}
return kOmittedWidth;

Powered by Google App Engine
This is Rietveld 408576698