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 5b818322d6aa53be076d63e72af83adb14e6998e..cd56195ffade9f02f2083bf1a34648a07f9521fe 100644 |
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
@@ -772,6 +772,11 @@ void WebFrameWidgetImpl::SetRemoteViewportIntersection( |
} |
} |
+void WebFrameWidgetImpl::SetIsInert(bool inert) { |
+ DCHECK(local_root_->Parent() && local_root_->Parent()->IsWebRemoteFrame()); |
tkent
2017/06/08 23:53:49
nit: Split the DCHECK into two so that we can know
kenrb
2017/06/09 19:26:30
Done.
|
+ local_root_->GetFrame()->SetIsInert(inert); |
+} |
+ |
void WebFrameWidgetImpl::HandleMouseLeave(LocalFrame& main_frame, |
const WebMouseEvent& event) { |
// FIXME: WebWidget doesn't have the method below. |