| Index: Source/bindings/templates/union.cpp
|
| diff --git a/Source/bindings/templates/union.cpp b/Source/bindings/templates/union.cpp
|
| index 85f9a7dff7db660c4145d92eeb3f07926dad8f25..9e0bccec36263174f2d35c4a878d9ef435329219 100644
|
| --- a/Source/bindings/templates/union.cpp
|
| +++ b/Source/bindings/templates/union.cpp
|
| @@ -27,7 +27,7 @@ namespace blink {
|
| }
|
|
|
| {% for member in container.members %}
|
| -{{member.rvalue_cpp_type}} {{container.cpp_class}}::getAs{{member.type_name}}()
|
| +{{member.rvalue_cpp_type}} {{container.cpp_class}}::getAs{{member.type_name}}() const
|
| {
|
| ASSERT(is{{member.type_name}}());
|
| return m_{{member.cpp_name}};
|
|
|