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

Unified Diff: chrome/browser/ui/cocoa/page_info_bubble_controller.mm

Issue 6576020: Remove Gears from Chrome (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: ready to review Created 9 years, 10 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/ui/cocoa/page_info_bubble_controller.mm
diff --git a/chrome/browser/ui/cocoa/page_info_bubble_controller.mm b/chrome/browser/ui/cocoa/page_info_bubble_controller.mm
index 1108a98f2203c096248fd6a4fd87ad514adecfea..0953d50264ecd3794c1fdc6d85d3f1d4666b99c2 100644
--- a/chrome/browser/ui/cocoa/page_info_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/page_info_bubble_controller.mm
@@ -382,8 +382,7 @@ void ShowPageInfoBubble(gfx::NativeWindow parent,
scoped_refptr<net::X509Certificate> cert;
CertStore::GetInstance()->RetrieveCert(certID_, &cert);
- // Don't bother showing certificates if there isn't one. Gears runs
- // with no OS root certificate.
+ // Don't bother showing certificates if there isn't one.
if (!cert.get() || !cert->os_cert_handle()) {
// This should only ever happen in unit tests.
[certButton setEnabled:NO];

Powered by Google App Engine
This is Rietveld 408576698