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

Unified Diff: chrome/browser/profile.cc

Issue 391062: Move NULLing of OCSP context from UI thread to IO thread, to avoid possible r... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 11 years, 1 month 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 | « chrome/browser/net/chrome_url_request_context.cc ('k') | net/ocsp/nss_ocsp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profile.cc
===================================================================
--- chrome/browser/profile.cc (revision 32099)
+++ chrome/browser/profile.cc (working copy)
@@ -58,7 +58,6 @@
#include "webkit/database/database_tracker.h"
#if defined(OS_LINUX)
-#include "net/ocsp/nss_ocsp.h"
#include "chrome/browser/gtk/gtk_theme_provider.h"
#endif
@@ -776,14 +775,8 @@
#endif
DeleteSpellCheckerImpl(false);
- if (default_request_context_ == request_context_) {
-#if defined(OS_LINUX)
- // We use default_request_context_ for OCSP.
- // Release URLRequestContext used in OCSP handlers.
- net::SetURLRequestContextForOCSP(NULL);
-#endif
+ if (default_request_context_ == request_context_)
default_request_context_ = NULL;
- }
CleanupRequestContext(request_context_);
CleanupRequestContext(media_request_context_);
« no previous file with comments | « chrome/browser/net/chrome_url_request_context.cc ('k') | net/ocsp/nss_ocsp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698