Index: third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl |
diff --git a/third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl |
index be3b55b90ebf95c4c7841932ed9d851ee04d86f2..2a29623a95498719441c878572bc07a193284ab5 100644 |
--- a/third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl |
+++ b/third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl |
@@ -275,7 +275,8 @@ void {{v8_class_or_partial}}::crossOriginNamedGetter(v8::Local<v8::Name> name, c |
{% else %} |
BindingSecurity::failedAccessCheckFor( |
info.GetIsolate(), |
- {{v8_class}}::toImpl(info.Holder())->frame()); |
+ &{{v8_class}}::wrapperTypeInfo, |
+ info.Holder()); |
{% endif %} |
} |
{% endif %} |
@@ -299,7 +300,8 @@ void {{v8_class_or_partial}}::crossOriginNamedSetter(v8::Local<v8::Name> name, v |
BindingSecurity::failedAccessCheckFor( |
info.GetIsolate(), |
- {{v8_class}}::toImpl(info.Holder())->frame()); |
+ &{{v8_class}}::wrapperTypeInfo, |
+ info.Holder()); |
} |
{% endif %} |