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 6c6229206f60bef3f80699470ae1c146f9b393c2..33180e72ff7849a857035b2d987fe35b6170fcfe 100644 |
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
@@ -777,6 +777,12 @@ void WebFrameWidgetImpl::SetRemoteViewportIntersection( |
viewport_intersection); |
} |
+void WebFrameWidgetImpl::SetIsInert(bool inert) { |
+ DCHECK(local_root_->Parent()); |
+ DCHECK(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. |