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

Unified Diff: content/child/blink_platform_impl.h

Issue 278513004: [webcrypto] Fix a race in BlinkPlatformImpl::crypto(), by using eager initilization of WebCryptoImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address sleevi comments Created 6 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 | « no previous file | content/child/blink_platform_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/blink_platform_impl.h
diff --git a/content/child/blink_platform_impl.h b/content/child/blink_platform_impl.h
index 156c773bf20abb7845d1ddce5f1784a539b22695..32e872e8839f26ed0bf5ed252b0da25c79ef4371 100644
--- a/content/child/blink_platform_impl.h
+++ b/content/child/blink_platform_impl.h
@@ -10,6 +10,7 @@
#include "base/platform_file.h"
#include "base/threading/thread_local_storage.h"
#include "base/timer/timer.h"
+#include "content/child/webcrypto/webcrypto_impl.h"
#include "content/child/webfallbackthemeengine_impl.h"
#include "content/common/content_export.h"
#include "third_party/WebKit/public/platform/Platform.h"
@@ -174,7 +175,7 @@ class CONTENT_EXPORT BlinkPlatformImpl
int shared_timer_suspended_; // counter
scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_;
base::ThreadLocalStorage::Slot current_thread_slot_;
- scoped_ptr<WebCryptoImpl> web_crypto_;
+ WebCryptoImpl web_crypto_;
};
} // namespace content
« no previous file with comments | « no previous file | content/child/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698