Index: Source/bindings/templates/interface.cpp |
diff --git a/Source/bindings/templates/interface.cpp b/Source/bindings/templates/interface.cpp |
index d95ed42b593d97a7cda941c75ac131f948b33d31..8c45953be0a0a95c1f6ed8b24b49f7f84e1f1ed3 100644 |
--- a/Source/bindings/templates/interface.cpp |
+++ b/Source/bindings/templates/interface.cpp |
@@ -1275,7 +1275,7 @@ v8::Handle<v8::Object> wrap({{cpp_class}}* impl, v8::Handle<v8::Object> creation |
DOMWrapperWorld& world = DOMWrapperWorld::current(isolate); |
if (world.isMainWorld()) { |
if (LocalFrame* frame = impl->frame()) |
- frame->script().windowShell(world)->updateDocumentWrapper(wrapper); |
+ frame->script().windowProxy(world)->updateDocumentWrapper(wrapper); |
} |
{% endif %} |
return wrapper; |