Index: Source/core/html/HTMLFrameElementBase.cpp |
diff --git a/Source/core/html/HTMLFrameElementBase.cpp b/Source/core/html/HTMLFrameElementBase.cpp |
index 7ac1c12eb20cb446865a47423627d94028506495..685eac2d175bdac9a545005a2a749ecf27c48d6c 100644 |
--- a/Source/core/html/HTMLFrameElementBase.cpp |
+++ b/Source/core/html/HTMLFrameElementBase.cpp |
@@ -34,7 +34,6 @@ |
#include "core/frame/RemoteFrame.h" |
#include "core/html/parser/HTMLParserIdioms.h" |
#include "core/loader/FrameLoader.h" |
-#include "core/page/ChromeClient.h" |
#include "core/page/FocusController.h" |
#include "core/page/Page.h" |
#include "core/rendering/RenderPart.h" |
@@ -213,7 +212,7 @@ bool HTMLFrameElementBase::isHTMLContentAttribute(const Attribute& attribute) co |
void HTMLFrameElementBase::defaultEventHandler(Event* event) |
{ |
if (contentFrame() && contentFrame()->isRemoteFrame()) { |
- contentFrame()->chromeClient().forwardInputEvent(toRemoteFrame(contentFrame()), event); |
+ toRemoteFrame(contentFrame())->forwardInputEvent(event); |
return; |
} |
HTMLFrameOwnerElement::defaultEventHandler(event); |