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

Unified Diff: Source/modules/crypto/Crypto.h

Issue 16820007: Expose crypto.getRandomValues() to workers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 6 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: Source/modules/crypto/Crypto.h
diff --git a/Source/modules/crypto/Crypto.h b/Source/modules/crypto/Crypto.h
index d4f5cda3ae92170a7f90b892691540722882ff60..12619df57488b4972004d6f15c09a4cfc350e90b 100644
--- a/Source/modules/crypto/Crypto.h
+++ b/Source/modules/crypto/Crypto.h
@@ -43,7 +43,7 @@ class Crypto : public ScriptWrappable, public RefCounted<Crypto> {
public:
static PassRefPtr<Crypto> create() { return adoptRef(new Crypto()); }
- void getRandomValues(ArrayBufferView*, ExceptionCode&);
+ static void getRandomValues(ArrayBufferView*, ExceptionCode&);
SubtleCrypto* subtle();

Powered by Google App Engine
This is Rietveld 408576698