Index: third_party/WebKit/Source/bindings/tests/results/core/UnionTypesCore.h |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/UnionTypesCore.h b/third_party/WebKit/Source/bindings/tests/results/core/UnionTypesCore.h |
index b8e794178dc310ea7d544491360b81b5a6c01085..741b68601cc1be76c8d9aa8e5f1e9e160208ea6f 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/UnionTypesCore.h |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/UnionTypesCore.h |
@@ -33,14 +33,14 @@ |
bool isNull() const { return m_type == SpecificTypeNone; } |
bool isArrayBuffer() const { return m_type == SpecificTypeArrayBuffer; } |
- TestArrayBuffer* getAsArrayBuffer() const; |
- void setArrayBuffer(TestArrayBuffer*); |
- static ArrayBufferOrArrayBufferViewOrDictionary fromArrayBuffer(TestArrayBuffer*); |
+ PassRefPtr<TestArrayBuffer> getAsArrayBuffer() const; |
+ void setArrayBuffer(PassRefPtr<TestArrayBuffer>); |
+ static ArrayBufferOrArrayBufferViewOrDictionary fromArrayBuffer(PassRefPtr<TestArrayBuffer>); |
bool isArrayBufferView() const { return m_type == SpecificTypeArrayBufferView; } |
- TestArrayBufferView* getAsArrayBufferView() const; |
- void setArrayBufferView(TestArrayBufferView*); |
- static ArrayBufferOrArrayBufferViewOrDictionary fromArrayBufferView(TestArrayBufferView*); |
+ PassRefPtr<TestArrayBufferView> getAsArrayBufferView() const; |
+ void setArrayBufferView(PassRefPtr<TestArrayBufferView>); |
+ static ArrayBufferOrArrayBufferViewOrDictionary fromArrayBufferView(PassRefPtr<TestArrayBufferView>); |
bool isDictionary() const { return m_type == SpecificTypeDictionary; } |
Dictionary getAsDictionary() const; |
@@ -61,8 +61,8 @@ |
}; |
SpecificTypes m_type; |
- Member<TestArrayBuffer> m_arrayBuffer; |
- Member<TestArrayBufferView> m_arrayBufferView; |
+ RefPtr<TestArrayBuffer> m_arrayBuffer; |
+ RefPtr<TestArrayBufferView> m_arrayBufferView; |
Dictionary m_dictionary; |
friend CORE_EXPORT v8::Local<v8::Value> toV8(const ArrayBufferOrArrayBufferViewOrDictionary&, v8::Local<v8::Object>, v8::Isolate*); |
@@ -317,14 +317,14 @@ |
static StringOrArrayBufferOrArrayBufferView fromString(String); |
bool isArrayBuffer() const { return m_type == SpecificTypeArrayBuffer; } |
- TestArrayBuffer* getAsArrayBuffer() const; |
- void setArrayBuffer(TestArrayBuffer*); |
- static StringOrArrayBufferOrArrayBufferView fromArrayBuffer(TestArrayBuffer*); |
+ PassRefPtr<TestArrayBuffer> getAsArrayBuffer() const; |
+ void setArrayBuffer(PassRefPtr<TestArrayBuffer>); |
+ static StringOrArrayBufferOrArrayBufferView fromArrayBuffer(PassRefPtr<TestArrayBuffer>); |
bool isArrayBufferView() const { return m_type == SpecificTypeArrayBufferView; } |
- TestArrayBufferView* getAsArrayBufferView() const; |
- void setArrayBufferView(TestArrayBufferView*); |
- static StringOrArrayBufferOrArrayBufferView fromArrayBufferView(TestArrayBufferView*); |
+ PassRefPtr<TestArrayBufferView> getAsArrayBufferView() const; |
+ void setArrayBufferView(PassRefPtr<TestArrayBufferView>); |
+ static StringOrArrayBufferOrArrayBufferView fromArrayBufferView(PassRefPtr<TestArrayBufferView>); |
StringOrArrayBufferOrArrayBufferView(const StringOrArrayBufferOrArrayBufferView&); |
~StringOrArrayBufferOrArrayBufferView(); |
@@ -341,8 +341,8 @@ |
SpecificTypes m_type; |
String m_string; |
- Member<TestArrayBuffer> m_arrayBuffer; |
- Member<TestArrayBufferView> m_arrayBufferView; |
+ RefPtr<TestArrayBuffer> m_arrayBuffer; |
+ RefPtr<TestArrayBufferView> m_arrayBufferView; |
friend CORE_EXPORT v8::Local<v8::Value> toV8(const StringOrArrayBufferOrArrayBufferView&, v8::Local<v8::Object>, v8::Isolate*); |
}; |
@@ -536,9 +536,9 @@ |
static TestInterface2OrUint8Array fromTestInterface2(PassRefPtr<TestInterface2>); |
bool isUint8Array() const { return m_type == SpecificTypeUint8Array; } |
- DOMUint8Array* getAsUint8Array() const; |
- void setUint8Array(DOMUint8Array*); |
- static TestInterface2OrUint8Array fromUint8Array(DOMUint8Array*); |
+ PassRefPtr<DOMUint8Array> getAsUint8Array() const; |
+ void setUint8Array(PassRefPtr<DOMUint8Array>); |
+ static TestInterface2OrUint8Array fromUint8Array(PassRefPtr<DOMUint8Array>); |
TestInterface2OrUint8Array(const TestInterface2OrUint8Array&); |
~TestInterface2OrUint8Array(); |
@@ -554,7 +554,7 @@ |
SpecificTypes m_type; |
RefPtr<TestInterface2> m_testInterface2; |
- Member<DOMUint8Array> m_uint8Array; |
+ RefPtr<DOMUint8Array> m_uint8Array; |
friend CORE_EXPORT v8::Local<v8::Value> toV8(const TestInterface2OrUint8Array&, v8::Local<v8::Object>, v8::Isolate*); |
}; |