| Index: Source/core/html/HTMLFrameElementBase.cpp
|
| diff --git a/Source/core/html/HTMLFrameElementBase.cpp b/Source/core/html/HTMLFrameElementBase.cpp
|
| index c53d22a50dfac1f582225371751363a848cf6299..7ac1c12eb20cb446865a47423627d94028506495 100644
|
| --- a/Source/core/html/HTMLFrameElementBase.cpp
|
| +++ b/Source/core/html/HTMLFrameElementBase.cpp
|
| @@ -31,6 +31,7 @@
|
| #include "core/dom/Document.h"
|
| #include "core/frame/FrameView.h"
|
| #include "core/frame/LocalFrame.h"
|
| +#include "core/frame/RemoteFrame.h"
|
| #include "core/html/parser/HTMLParserIdioms.h"
|
| #include "core/loader/FrameLoader.h"
|
| #include "core/page/ChromeClient.h"
|
| @@ -211,8 +212,8 @@ bool HTMLFrameElementBase::isHTMLContentAttribute(const Attribute& attribute) co
|
| // process. See http://crbug.com/339659.
|
| void HTMLFrameElementBase::defaultEventHandler(Event* event)
|
| {
|
| - if (contentFrame() && contentFrame()->isRemoteFrameTemporary()) {
|
| - contentFrame()->chromeClient().forwardInputEvent(contentFrame(), event);
|
| + if (contentFrame() && contentFrame()->isRemoteFrame()) {
|
| + contentFrame()->chromeClient().forwardInputEvent(toRemoteFrame(contentFrame()), event);
|
| return;
|
| }
|
| HTMLFrameOwnerElement::defaultEventHandler(event);
|
|
|