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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp

Issue 2707243006: [SharedArrayBuffer] Prevent SharedArrayBuffer being used in Web APIs (Closed)
Patch Set: update comment, add TODO 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/bindings/tests/results/core/TestDictionary.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp b/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp
index 69af3f6415df35514c3c96959da2c12dd52b2d53..6d96d38bc32a48f07fa2b048687c2ead3ecc01c8 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp
@@ -400,11 +400,11 @@ void TestDictionary::setTestObjectSequenceMember(const HeapVector<Member<TestObj
bool TestDictionary::hasUint8ArrayMember() const {
return m_uint8ArrayMember;
}
-DOMUint8Array* TestDictionary::uint8ArrayMember() const {
+NotShared<DOMUint8Array> TestDictionary::uint8ArrayMember() const {
return m_uint8ArrayMember;
}
-void TestDictionary::setUint8ArrayMember(DOMUint8Array* value) {
- m_uint8ArrayMember = value;
+void TestDictionary::setUint8ArrayMember(NotShared<DOMUint8Array> value) {
+ m_uint8ArrayMember = value.View();
}
bool TestDictionary::hasUnionInRecordMember() const {
return m_hasUnionInRecordMember;

Powered by Google App Engine
This is Rietveld 408576698