summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorscheib@chromium.org <scheib@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-03 20:21:00 +0000
committerscheib@chromium.org <scheib@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-03 20:21:00 +0000
commit4d9a0232d9e649c1a2fdfdc021b57f6778067408 (patch)
tree3cc4960db3e9dc321fd538a9796d15ed65e9e961 /content
parent0e8c0a197cd2669bacd3964d6d443ecdcc6c47d6 (diff)
downloadchromium_src-4d9a0232d9e649c1a2fdfdc021b57f6778067408.zip
chromium_src-4d9a0232d9e649c1a2fdfdc021b57f6778067408.tar.gz
chromium_src-4d9a0232d9e649c1a2fdfdc021b57f6778067408.tar.bz2
Merge 119965 - Unlock mouse on Render widget host view close
BUG=111860 TEST=ppapi/examples/mouse_lock/mouse_lock.html, see 112025 for steps. Review URL: http://codereview.chromium.org/9302021 TBR=scheib@chromium.org Review URL: https://chromiumcodereview.appspot.com/9328003 git-svn-id: svn://svn.chromium.org/chrome/branches/1025/src@120388 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/browser/renderer_host/render_widget_host_view_mac.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm
index 0d60139..4a88a6b 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -249,6 +249,7 @@ RenderWidgetHostViewMac::RenderWidgetHostViewMac(RenderWidgetHost* widget)
}
RenderWidgetHostViewMac::~RenderWidgetHostViewMac() {
+ UnlockMouse();
}
void RenderWidgetHostViewMac::SetDelegate(