summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/autocomplete_text_field_unittest.mm
diff options
context:
space:
mode:
authorhawk@chromium.org <hawk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-09 23:41:56 +0000
committerhawk@chromium.org <hawk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-09 23:41:56 +0000
commit3ed662c37a3d881feb5b6578eb2e0e44586b3f1a (patch)
tree196ba3d53a87ff7b5bdd75068fe5a8ad8135569b /chrome/browser/cocoa/autocomplete_text_field_unittest.mm
parent3552fa6183e31f36f102ca668955676a4e35516e (diff)
downloadchromium_src-3ed662c37a3d881feb5b6578eb2e0e44586b3f1a.zip
chromium_src-3ed662c37a3d881feb5b6578eb2e0e44586b3f1a.tar.gz
chromium_src-3ed662c37a3d881feb5b6578eb2e0e44586b3f1a.tar.bz2
Add EV certificate text to the Mac location bar
BUG=10910 TEST=EV sites (e.g., http://www.paypal.com and most bank sites) get a green text description next to the lock icon in the location bar, non-EV (and non-SSL) sites do not Review URL: http://codereview.chromium.org/216031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28627 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/autocomplete_text_field_unittest.mm')
-rw-r--r--chrome/browser/cocoa/autocomplete_text_field_unittest.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/autocomplete_text_field_unittest.mm b/chrome/browser/cocoa/autocomplete_text_field_unittest.mm
index be6c422..b6e5be5 100644
--- a/chrome/browser/cocoa/autocomplete_text_field_unittest.mm
+++ b/chrome/browser/cocoa/autocomplete_text_field_unittest.mm
@@ -528,7 +528,7 @@ TEST_F(AutocompleteTextFieldTest, SecurityIconMouseDown) {
AutocompleteTextFieldCell* cell = [field_ autocompleteTextFieldCell];
scoped_nsobject<NSImage> hintIcon(
[[NSImage alloc] initWithSize:NSMakeSize(20, 20)]);
- [cell setHintIcon:hintIcon.get()];
+ [cell setHintIcon:hintIcon.get() label:nil color:nil];
NSRect iconFrame([cell hintImageFrameForFrame:[field_ bounds]]);
NSPoint location(NSMakePoint(NSMidX(iconFrame), NSMidY(iconFrame)));
NSEvent* event(Event(field_, location, NSLeftMouseDown, 1));