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

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: Created 3 years, 10 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 54b6b4e420771a767bb5505e1ea9e1f53ccdbedc..23e79f9270ddc67a18a58d329f3bc909812950e7 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/ArrayBufferOrArrayBufferViewOrDictionary.h
+++ b/third_party/WebKit/Source/bindings/tests/results/core/ArrayBufferOrArrayBufferViewOrDictionary.h
@@ -14,14 +14,16 @@
#include "bindings/core/v8/Dictionary.h"
#include "bindings/core/v8/ExceptionState.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/MaybeShared.h"
#include "platform/heap/Handle.h"
namespace blink {
class TestArrayBuffer;
-class TestArrayBufferView;
class CORE_EXPORT ArrayBufferOrArrayBufferViewOrDictionary final {
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
@@ -35,9 +37,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*);
+ MaybeShared<TestArrayBufferView> getAsArrayBufferView() const;
+ void setArrayBufferView(MaybeShared<TestArrayBufferView>);
+ static ArrayBufferOrArrayBufferViewOrDictionary fromArrayBufferView(MaybeShared<TestArrayBufferView>);
bool isDictionary() const { return m_type == SpecificTypeDictionary; }
Dictionary getAsDictionary() const;

Powered by Google App Engine
This is Rietveld 408576698