Index: Source/core/html/HTMLFrameElementBase.cpp |
diff --git a/Source/core/html/HTMLFrameElementBase.cpp b/Source/core/html/HTMLFrameElementBase.cpp |
index ab7304b3824c5da550cb451e46e973e6864c35da..75865b6889054698df58dfc4a1fdf6b7b5a251e5 100644 |
--- a/Source/core/html/HTMLFrameElementBase.cpp |
+++ b/Source/core/html/HTMLFrameElementBase.cpp |
@@ -32,6 +32,7 @@ |
#include "core/frame/FrameView.h" |
#include "core/frame/LocalFrame.h" |
#include "core/frame/RemoteFrame.h" |
+#include "core/frame/RemoteFrameView.h" |
#include "core/html/parser/HTMLParserIdioms.h" |
#include "core/layout/LayoutPart.h" |
#include "core/loader/FrameLoader.h" |
@@ -170,6 +171,8 @@ void HTMLFrameElementBase::attach(const AttachContext& context) |
if (Frame* frame = contentFrame()) { |
if (frame->isLocalFrame()) |
setWidget(toLocalFrame(frame)->view()); |
+ else if (frame->isRemoteFrame()) |
+ setWidget(toRemoteFrame(frame)->view()); |
} |
} |
} |