Index: third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp |
diff --git a/third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp b/third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp |
index 823124424dd837482101e8ebbf17e64d6cf2d756..a4f38c42865db07735e7af37a78d6fd6d6a11666 100644 |
--- a/third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp |
+++ b/third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp |
@@ -40,7 +40,11 @@ void {{v8_class}}::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8Value, {{ |
} |
{% endif %} |
{% for member in members %} |
+ {% if member.runtime_enabled_function %} |
+ if ({{member.runtime_enabled_function}}()) { |
+ {% else %} |
{ |
+ {% endif %} |
v8::Local<v8::Value> {{member.name}}Value; |
if (!v8Object->Get(isolate->GetCurrentContext(), v8String(isolate, "{{member.name}}")).ToLocal(&{{member.name}}Value)) { |
exceptionState.rethrowV8Exception(block.Exception()); |