| Index: chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm
|
| diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm b/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm
|
| index aa5992599a3e8c997387d576517fabd6424165c8..a1e29ead7e3af64c2653dd9c5aa14edcb5cb6a5d 100644
|
| --- a/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm
|
| +++ b/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm
|
| @@ -530,24 +530,24 @@ void OmniboxViewMac::ApplyTextAttributes(const base::string16& display_text,
|
| // TODO(shess): GTK has this as a member var, figure out why.
|
| // [Could it be to not change if no change? If so, I'm guessing
|
| // AppKit may already handle that.]
|
| - const ConnectionSecurityHelper::SecurityLevel security_level =
|
| + const ConnectionSecurityStatus::SecurityLevel security_level =
|
| controller()->GetToolbarModel()->GetSecurityLevel(false);
|
|
|
| // Emphasize the scheme for security UI display purposes (if necessary).
|
| if (!model()->user_input_in_progress() && model()->CurrentTextIsURL() &&
|
| scheme.is_nonempty() &&
|
| - (security_level != ConnectionSecurityHelper::NONE)) {
|
| + (security_level != ConnectionSecurityStatus::NONE)) {
|
| NSColor* color;
|
| - if (security_level == ConnectionSecurityHelper::EV_SECURE ||
|
| - security_level == ConnectionSecurityHelper::SECURE) {
|
| + if (security_level == ConnectionSecurityStatus::EV_SECURE ||
|
| + security_level == ConnectionSecurityStatus::SECURE) {
|
| color = SecureSchemeColor();
|
| - } else if (security_level == ConnectionSecurityHelper::SECURITY_ERROR) {
|
| + } else if (security_level == ConnectionSecurityStatus::SECURITY_ERROR) {
|
| color = SecurityErrorSchemeColor();
|
| // Add a strikethrough through the scheme.
|
| [as addAttribute:NSStrikethroughStyleAttributeName
|
| value:[NSNumber numberWithInt:NSUnderlineStyleSingle]
|
| range:ComponentToNSRange(scheme)];
|
| - } else if (security_level == ConnectionSecurityHelper::SECURITY_WARNING) {
|
| + } else if (security_level == ConnectionSecurityStatus::SECURITY_WARNING) {
|
| color = BaseTextColor();
|
| } else {
|
| NOTREACHED();
|
|
|