| 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 beaf2921ee9f69ecee1b52b110772f24376014f7..fbb84836bac6ef44dbe632e851841bc64a94b698 100644
|
| --- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| @@ -734,6 +734,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.
|
|
|