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 8a687b75995b91133e4d27afa39a57afd308e8fd..a114237bf33e2b2459b9398627798dc20bd503ce 100644 |
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
@@ -774,6 +774,11 @@ void WebFrameWidgetImpl::SetRemoteViewportIntersection( |
} |
} |
+void WebFrameWidgetImpl::SetIsInert(bool inert) { |
+ DCHECK(local_root_->Parent() && local_root_->Parent()->IsWebRemoteFrame()); |
+ local_root_->GetFrame()->SetIsInert(inert); |
+} |
+ |
void WebFrameWidgetImpl::HandleMouseLeave(LocalFrame& main_frame, |
const WebMouseEvent& event) { |
// FIXME: WebWidget doesn't have the method below. |