| Index: Source/bindings/tests/results/core/V8TestDictionaryDerived.cpp
|
| diff --git a/Source/bindings/tests/results/core/V8TestDictionaryDerived.cpp b/Source/bindings/tests/results/core/V8TestDictionaryDerived.cpp
|
| index 31a7e272c6638c5ce2fcdd160c3fd817dbba237d..5982e3377808d483a30f1cb06c097530ed091153 100644
|
| --- a/Source/bindings/tests/results/core/V8TestDictionaryDerived.cpp
|
| +++ b/Source/bindings/tests/results/core/V8TestDictionaryDerived.cpp
|
| @@ -47,7 +47,7 @@ void V8TestDictionaryDerivedImplementedAs::toImpl(v8::Isolate* isolate, v8::Hand
|
|
|
| }
|
|
|
| -v8::Handle<v8::Value> toV8(TestDictionaryDerivedImplementedAs& impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
|
| +v8::Handle<v8::Value> toV8(const TestDictionaryDerivedImplementedAs& impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
|
| {
|
| v8::Handle<v8::Object> v8Object = v8::Object::New(isolate);
|
| toV8TestDictionary(impl, v8Object, creationContext, isolate);
|
| @@ -55,7 +55,13 @@ v8::Handle<v8::Value> toV8(TestDictionaryDerivedImplementedAs& impl, v8::Handle<
|
| return v8Object;
|
| }
|
|
|
| -void toV8TestDictionaryDerivedImplementedAs(TestDictionaryDerivedImplementedAs& impl, v8::Handle<v8::Object> dictionary, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
|
| +template<>
|
| +v8::Handle<v8::Value> toV8NoInline(const TestDictionaryDerivedImplementedAs* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
|
| +{
|
| + return toV8(*impl, creationContext, isolate);
|
| +}
|
| +
|
| +void toV8TestDictionaryDerivedImplementedAs(const TestDictionaryDerivedImplementedAs& impl, v8::Handle<v8::Object> dictionary, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
|
| {
|
| if (impl.hasDerivedStringMember()) {
|
| dictionary->Set(v8String(isolate, "derivedStringMember"), v8String(isolate, impl.derivedStringMember()));
|
| @@ -69,4 +75,11 @@ void toV8TestDictionaryDerivedImplementedAs(TestDictionaryDerivedImplementedAs&
|
|
|
| }
|
|
|
| +TestDictionaryDerivedImplementedAs NativeValueTraits<TestDictionaryDerivedImplementedAs>::nativeValue(const v8::Handle<v8::Value>& value, v8::Isolate* isolate, ExceptionState& exceptionState)
|
| +{
|
| + TestDictionaryDerivedImplementedAs impl;
|
| + V8TestDictionaryDerivedImplementedAs::toImpl(isolate, value, impl, exceptionState);
|
| + return impl;
|
| +}
|
| +
|
| } // namespace blink
|
|
|