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

Unified Diff: chrome/browser/profile.cc

Issue 399016: Fix race conditions where an object's constructor uses PostTask on itself. T... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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
Index: chrome/browser/profile.cc
===================================================================
--- chrome/browser/profile.cc (revision 32148)
+++ chrome/browser/profile.cc (working copy)
@@ -884,7 +884,9 @@
ProfileImpl::GetStrictTransportSecurityState() {
if (!strict_transport_security_state_.get()) {
strict_transport_security_state_ = new net::StrictTransportSecurityState();
- strict_transport_security_persister_ = new StrictTransportSecurityPersister(
+ strict_transport_security_persister_ =
+ new StrictTransportSecurityPersister();
+ strict_transport_security_persister_->Initialize(
strict_transport_security_state_.get(), path_);
}

Powered by Google App Engine
This is Rietveld 408576698