| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "config.h" | 5 #include "config.h" |
| 6 #include "DictionaryTest.h" | 6 #include "DictionaryTest.h" |
| 7 | 7 |
| 8 #include "core/testing/InternalDictionary.h" | 8 #include "core/testing/InternalDictionary.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| 11 | 11 |
| 12 DictionaryTest::DictionaryTest() | 12 DictionaryTest::DictionaryTest() |
| 13 { | 13 { |
| 14 ScriptWrappable::init(this); | |
| 15 } | 14 } |
| 16 | 15 |
| 17 DictionaryTest::~DictionaryTest() | 16 DictionaryTest::~DictionaryTest() |
| 18 { | 17 { |
| 19 } | 18 } |
| 20 | 19 |
| 21 void DictionaryTest::set(const InternalDictionary* testingDictionary) | 20 void DictionaryTest::set(const InternalDictionary* testingDictionary) |
| 22 { | 21 { |
| 23 reset(); | 22 reset(); |
| 24 if (testingDictionary->hasLongMember()) | 23 if (testingDictionary->hasLongMember()) |
| (...skipping 29 matching lines...) Expand all Loading... |
| 54 m_booleanOrNullMember = Nullable<bool>(); | 53 m_booleanOrNullMember = Nullable<bool>(); |
| 55 m_doubleOrNullMember = Nullable<double>(); | 54 m_doubleOrNullMember = Nullable<double>(); |
| 56 m_stringSequenceMember = Nullable<Vector<String> >(); | 55 m_stringSequenceMember = Nullable<Vector<String> >(); |
| 57 } | 56 } |
| 58 | 57 |
| 59 void DictionaryTest::trace(Visitor*) | 58 void DictionaryTest::trace(Visitor*) |
| 60 { | 59 { |
| 61 } | 60 } |
| 62 | 61 |
| 63 } | 62 } |
| OLD | NEW |