summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/browser/renderer_host/render_view_host.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/content/browser/renderer_host/render_view_host.cc b/content/browser/renderer_host/render_view_host.cc
index 441acb6..2761b3b 100644
--- a/content/browser/renderer_host/render_view_host.cc
+++ b/content/browser/renderer_host/render_view_host.cc
@@ -1148,8 +1148,7 @@ void RenderViewHost::NotifyRendererResponsive() {
}
void RenderViewHost::RequestToLockMouse() {
- // Only allow to lock the mouse when the current tab is in fullscreen mode.
- GotResponseToLockMouseRequest(delegate_->IsFullscreenForCurrentTab());
+ delegate_->RequestToLockMouse();
}
bool RenderViewHost::IsFullscreen() const {