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

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

Issue 2707243006: [SharedArrayBuffer] Prevent SharedArrayBuffer being used in Web APIs (Closed)
Patch Set: remove unused checks Created 3 years, 8 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: third_party/WebKit/Source/modules/crypto/Crypto.h
diff --git a/third_party/WebKit/Source/modules/crypto/Crypto.h b/third_party/WebKit/Source/modules/crypto/Crypto.h
index 16bd5a58ff5754b2b03d5f50dd46049b6492c0a0..c7cdf187d03c485e835af335ecc386ff8ad2e786 100644
--- a/third_party/WebKit/Source/modules/crypto/Crypto.h
+++ b/third_party/WebKit/Source/modules/crypto/Crypto.h
@@ -44,7 +44,8 @@ class Crypto final : public GarbageCollected<Crypto>, public ScriptWrappable {
public:
static Crypto* create() { return new Crypto(); }
- DOMArrayBufferView* getRandomValues(DOMArrayBufferView*, ExceptionState&);
+ DOMArrayBufferView* getRandomValues(const NotShared<DOMArrayBufferView>&,
+ ExceptionState&);
SubtleCrypto* subtle();

Powered by Google App Engine
This is Rietveld 408576698