Index: chrome/browser/ui/toolbar/test_toolbar_model.cc |
diff --git a/chrome/browser/ui/toolbar/test_toolbar_model.cc b/chrome/browser/ui/toolbar/test_toolbar_model.cc |
index f086bcb70c715698c806c0f566f58c0f738c86b7..666a45439513b89f7085a528151dcd6528c0b402 100644 |
--- a/chrome/browser/ui/toolbar/test_toolbar_model.cc |
+++ b/chrome/browser/ui/toolbar/test_toolbar_model.cc |
@@ -55,7 +55,7 @@ int TestToolbarModel::GetIconForSecurityLevel(SecurityLevel level) const { |
} |
base::string16 TestToolbarModel::GetEVCertName() const { |
- return ev_cert_name_; |
+ return (security_level_ == EV_SECURE) ? ev_cert_name_ : base::string16(); |
} |
bool TestToolbarModel::ShouldDisplayURL() const { |