Index: third_party/WebKit/Source/core/testing/DictionaryTest.cpp |
diff --git a/third_party/WebKit/Source/core/testing/DictionaryTest.cpp b/third_party/WebKit/Source/core/testing/DictionaryTest.cpp |
index 4d993539978657c7db5500070392be714e0c2f7f..92412a0143ac07d394ccb25854d4ad4a1fface19 100644 |
--- a/third_party/WebKit/Source/core/testing/DictionaryTest.cpp |
+++ b/third_party/WebKit/Source/core/testing/DictionaryTest.cpp |
@@ -7,6 +7,7 @@ |
#include "bindings/core/v8/V8ObjectBuilder.h" |
#include "core/testing/InternalDictionary.h" |
#include "core/testing/InternalDictionaryDerived.h" |
+#include "core/testing/InternalDictionaryDerivedDerived.h" |
namespace blink { |
@@ -148,6 +149,19 @@ void DictionaryTest::getDerived(InternalDictionaryDerived& result) |
result.setRequiredBooleanMember(m_requiredBooleanMember); |
} |
+void DictionaryTest::setDerivedDerived(const InternalDictionaryDerivedDerived& derived) |
+{ |
+ setDerived(derived); |
+ if (derived.hasDerivedDerivedStringMember()) |
+ m_derivedDerivedStringMember = derived.derivedDerivedStringMember(); |
+} |
+ |
+void DictionaryTest::getDerivedDerived(InternalDictionaryDerivedDerived& result) |
+{ |
+ getDerived(result); |
+ result.setDerivedDerivedStringMember(m_derivedDerivedStringMember); |
+} |
+ |
String DictionaryTest::stringFromIterable(ExecutionContext* executionContext, Dictionary iterable, ExceptionState& exceptionState) const |
{ |
StringBuilder result; |