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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/ArrayBufferOrArrayBufferViewOrDictionary.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/bindings/tests/results/core/ArrayBufferOrArrayBufferViewOrDictionary.h
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/ArrayBufferOrArrayBufferViewOrDictionary.h b/third_party/WebKit/Source/bindings/tests/results/core/ArrayBufferOrArrayBufferViewOrDictionary.h
index cc63ec782c2d7d94fb19b6433d061d7f2a74248b..dce6f162571c218394dfc27b51756b41133641b4 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/ArrayBufferOrArrayBufferViewOrDictionary.h
+++ b/third_party/WebKit/Source/bindings/tests/results/core/ArrayBufferOrArrayBufferViewOrDictionary.h
@@ -15,14 +15,16 @@
#include "bindings/core/v8/Dictionary.h"
#include "bindings/core/v8/ExceptionState.h"
#include "bindings/core/v8/NativeValueTraits.h"
+#include "bindings/core/v8/V8ArrayBufferView.h"
#include "bindings/core/v8/V8Binding.h"
#include "core/CoreExport.h"
+#include "core/dom/FlexibleArrayBufferView.h"
+#include "core/dom/NotShared.h"
#include "platform/heap/Handle.h"
namespace blink {
class TestArrayBuffer;
-class TestArrayBufferView;
class CORE_EXPORT ArrayBufferOrArrayBufferViewOrDictionary final {
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
@@ -36,9 +38,9 @@ class CORE_EXPORT ArrayBufferOrArrayBufferViewOrDictionary final {
static ArrayBufferOrArrayBufferViewOrDictionary fromArrayBuffer(TestArrayBuffer*);
bool isArrayBufferView() const { return m_type == SpecificTypeArrayBufferView; }
- TestArrayBufferView* getAsArrayBufferView() const;
- void setArrayBufferView(TestArrayBufferView*);
- static ArrayBufferOrArrayBufferViewOrDictionary fromArrayBufferView(TestArrayBufferView*);
+ NotShared<TestArrayBufferView> getAsArrayBufferView() const;
+ void setArrayBufferView(NotShared<TestArrayBufferView>);
+ static ArrayBufferOrArrayBufferViewOrDictionary fromArrayBufferView(NotShared<TestArrayBufferView>);
bool isDictionary() const { return m_type == SpecificTypeDictionary; }
Dictionary getAsDictionary() const;

Powered by Google App Engine
This is Rietveld 408576698