| Index: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| index ccc746e2acaad182726e41fe1e3977aeb47be271..ed10d3fc52f22fb3481131bb2ab6af20206eaca2 100644
|
| --- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| @@ -738,6 +738,17 @@ void WebFrameWidgetImpl::applyReplacementRange(const WebRange& range) {
|
| }
|
| }
|
|
|
| +void WebFrameWidgetImpl::setRemoteViewportIntersection(
|
| + const WebRect& viewportIntersection) {
|
| + // Remote viewports are only applicable to local frames with remote ancestors.
|
| + if (!m_localRoot->parent() || !m_localRoot->parent()->isWebRemoteFrame())
|
| + return;
|
| + if (m_localRoot->frameView()) {
|
| + m_localRoot->frameView()->setViewportIntersectionFromParent(
|
| + viewportIntersection);
|
| + }
|
| +}
|
| +
|
| void WebFrameWidgetImpl::handleMouseLeave(LocalFrame& mainFrame,
|
| const WebMouseEvent& event) {
|
| // FIXME: WebWidget doesn't have the method below.
|
|
|