| Index: Source/core/testing/UnionTypesTest.h
|
| diff --git a/Source/core/testing/UnionTypesTest.h b/Source/core/testing/UnionTypesTest.h
|
| index da35ea5b7771bb3dded804f24430130670cd61ed..fb2b19ae07a16e711ecc57717d30f808789c37b5 100644
|
| --- a/Source/core/testing/UnionTypesTest.h
|
| +++ b/Source/core/testing/UnionTypesTest.h
|
| @@ -19,12 +19,27 @@ public:
|
| }
|
| virtual ~UnionTypesTest() { }
|
|
|
| + void doubleOrStringAttribute(DoubleOrString&);
|
| + void setDoubleOrStringAttribute(const DoubleOrString&);
|
| +
|
| String doubleOrStringArg(DoubleOrString&);
|
|
|
| void trace(Visitor*) { }
|
|
|
| private:
|
| - UnionTypesTest() { }
|
| + UnionTypesTest()
|
| + : m_attributeType(SpecificTypeNone)
|
| + {
|
| + }
|
| +
|
| + enum AttributeSpecificType {
|
| + SpecificTypeNone,
|
| + SpecificTypeDouble,
|
| + SpecificTypeString,
|
| + };
|
| + AttributeSpecificType m_attributeType;
|
| + double m_attributeDouble;
|
| + String m_attributeString;
|
| };
|
|
|
| } // namespace blink
|
|
|