Index: Source/bindings/tests/results/core/V8TestDictionaryDerived.h |
diff --git a/Source/bindings/tests/results/core/V8TestDictionaryDerived.h b/Source/bindings/tests/results/core/V8TestDictionaryDerived.h |
index 4ae5493ab2bf7344896f0d047c69eade1b664831..638b4c63a46a19856d80702ecd5f93cabde9ea6e 100644 |
--- a/Source/bindings/tests/results/core/V8TestDictionaryDerived.h |
+++ b/Source/bindings/tests/results/core/V8TestDictionaryDerived.h |
@@ -20,8 +20,8 @@ public: |
static void toImpl(v8::Isolate*, v8::Handle<v8::Value>, TestDictionaryDerivedImplementedAs&, ExceptionState&); |
}; |
-v8::Handle<v8::Value> toV8(TestDictionaryDerivedImplementedAs&, v8::Handle<v8::Object>, v8::Isolate*); |
-void toV8TestDictionaryDerivedImplementedAs(TestDictionaryDerivedImplementedAs&, v8::Handle<v8::Object> dictionary, v8::Handle<v8::Object> creationContext, v8::Isolate*); |
+v8::Handle<v8::Value> toV8(const TestDictionaryDerivedImplementedAs&, v8::Handle<v8::Object>, v8::Isolate*); |
+void toV8TestDictionaryDerivedImplementedAs(const TestDictionaryDerivedImplementedAs&, v8::Handle<v8::Object> dictionary, v8::Handle<v8::Object> creationContext, v8::Isolate*); |
template<class CallbackInfo> |
inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestDictionaryDerivedImplementedAs& impl) |
@@ -29,6 +29,11 @@ inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestDictionaryDer |
v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackInfo.GetIsolate())); |
} |
+template <> |
+struct NativeValueTraits<TestDictionaryDerivedImplementedAs> { |
+ static TestDictionaryDerivedImplementedAs nativeValue(const v8::Handle<v8::Value>&, v8::Isolate*, ExceptionState&); |
+}; |
+ |
} // namespace blink |
#endif // V8TestDictionaryDerived_h |