Index: Source/core/html/HTMLFrameSetElement.cpp |
diff --git a/Source/core/html/HTMLFrameSetElement.cpp b/Source/core/html/HTMLFrameSetElement.cpp |
index 9ec4d6ec5c587fb882b375a66ea1f9fd12c185d3..ecf8fe79bfb2ee5d1c31331bfaf8fde10c948ba0 100644 |
--- a/Source/core/html/HTMLFrameSetElement.cpp |
+++ b/Source/core/html/HTMLFrameSetElement.cpp |
@@ -34,6 +34,8 @@ |
#include "core/dom/NodeRenderingContext.h" |
#include "core/html/HTMLCollection.h" |
#include "core/html/HTMLFrameElement.h" |
+#include "core/loader/FrameLoaderClient.h" |
+#include "core/page/Frame.h" |
#include "core/platform/Length.h" |
#include "core/rendering/RenderFrameSet.h" |
@@ -55,6 +57,8 @@ HTMLFrameSetElement::HTMLFrameSetElement(const QualifiedName& tagName, Document* |
ASSERT(hasTagName(framesetTag)); |
ScriptWrappable::init(this); |
setHasCustomStyleCallbacks(); |
+ if (document->frame()) |
+ document->frame()->loader()->client()->dispatchWillInsertBody(); |
abarth-chromium
2013/06/03 23:29:50
You want to hook HTMLFrameSetElement::insertedInto
|
} |
PassRefPtr<HTMLFrameSetElement> HTMLFrameSetElement::create(const QualifiedName& tagName, Document* document) |