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

Unified Diff: content/browser/ssl/ssl_manager.cc

Issue 16256018: Update content/ to use WeakPtr<T>::get() instead of implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix incorrectly modified code Created 7 years, 7 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
« no previous file with comments | « content/browser/ssl/ssl_error_handler.cc ('k') | content/browser/tracing/tracing_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/ssl/ssl_manager.cc
diff --git a/content/browser/ssl/ssl_manager.cc b/content/browser/ssl/ssl_manager.cc
index 18c64c8d455e2a7d1487da52f3e389a8bc3dfb96..e24bdd179d95e7ed2e45ae8ae0eeae4539ee0831 100644
--- a/content/browser/ssl/ssl_manager.cc
+++ b/content/browser/ssl/ssl_manager.cc
@@ -58,14 +58,12 @@ void SSLManager::OnSSLCertificateError(
int render_view_id,
const net::SSLInfo& ssl_info,
bool fatal) {
- DCHECK(delegate);
+ DCHECK(delegate.get());
DVLOG(1) << "OnSSLCertificateError() cert_error: "
- << net::MapCertStatusToNetError(ssl_info.cert_status)
- << " id: " << id.child_id << "," << id.request_id
- << " resource_type: " << resource_type
- << " url: " << url.spec()
- << " render_process_id: " << render_process_id
- << " render_view_id: " << render_view_id
+ << net::MapCertStatusToNetError(ssl_info.cert_status) << " id: "
+ << id.child_id << "," << id.request_id << " resource_type: "
+ << resource_type << " url: " << url.spec() << " render_process_id: "
+ << render_process_id << " render_view_id: " << render_view_id
<< " cert_status: " << std::hex << ssl_info.cert_status;
// A certificate error occurred. Construct a SSLCertErrorHandler object and
« no previous file with comments | « content/browser/ssl/ssl_error_handler.cc ('k') | content/browser/tracing/tracing_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698