| Index: Source/core/testing/DictionaryTest.h
|
| diff --git a/Source/core/testing/DictionaryTest.h b/Source/core/testing/DictionaryTest.h
|
| index 860cddd387ec7e04c2efe7d63079b9e4477184c5..8b826e0df61072aff775f77a57a8f87db20fa68e 100644
|
| --- a/Source/core/testing/DictionaryTest.h
|
| +++ b/Source/core/testing/DictionaryTest.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "bindings/core/v8/Nullable.h"
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| +#include "core/dom/Element.h"
|
| #include "platform/heap/Handle.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| @@ -35,13 +36,22 @@ private:
|
| void reset();
|
|
|
| // The reason to use Nullable<T> is convenience; we use Nullable<T> here to
|
| - // record whether the member field is set or not. |stringMember| isn't
|
| - // wrapped with Nullable because |stringMember| has a non-null default value
|
| + // record whether the member field is set or not. Some members are not
|
| + // wrapped with Nullable because:
|
| + // - |longMemberWithDefault| has a non-null default value
|
| + // - String and PtrTypes can express whether they are null
|
| Nullable<unsigned> m_longMember;
|
| + unsigned m_longMemberWithDefault;
|
| + Nullable<unsigned> m_longOrNullMember;
|
| + Nullable<unsigned> m_longOrNullMemberWithDefault;
|
| + Nullable<bool> m_booleanMember;
|
| + Nullable<double> m_doubleMember;
|
| String m_stringMember;
|
| - Nullable<bool> m_booleanOrNullMember;
|
| - Nullable<double> m_doubleOrNullMember;
|
| + String m_stringMemberWithDefault;
|
| Nullable<Vector<String> > m_stringSequenceMember;
|
| + Nullable<Vector<String> > m_stringSequenceOrNullMember;
|
| + RefPtrWillBeMember<Element> m_elementMember;
|
| + RefPtrWillBeMember<Element> m_elementOrNullMember;
|
| };
|
|
|
| } // namespace blink
|
|
|