Index: Source/core/scripts/make_names.pl |
diff --git a/Source/core/scripts/make_names.pl b/Source/core/scripts/make_names.pl |
index 88ea51ea1947a5b805b0017dffacccf256e29e5e..da2c3f3b79e9d7b8fadde96b9b712120a9c9f2ee 100755 |
--- a/Source/core/scripts/make_names.pl |
+++ b/Source/core/scripts/make_names.pl |
@@ -981,7 +981,7 @@ static v8::Handle<v8::Object> create${JSInterfaceName}Wrapper($parameters{namesp |
{ |
Settings* settings = element->document().settings(); |
if (!RuntimeEnabledFeatures::mediaEnabled() || (settings && !settings->mediaEnabled())) |
- return createV8$parameters{namespace}DirectWrapper(element, creationContext, isolate); |
+ return createV8$parameters{namespace}FallbackWrapper(to$parameters{fallbackInterfaceName}(element), creationContext, isolate); |
return wrap(static_cast<${JSInterfaceName}*>(element), creationContext, isolate); |
} |