Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Unified Diff: webkit/plugins/ppapi/ppapi_plugin_instance.cc

Issue 10699045: Fix PPB_MouseLock.LockMouse crash and add tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/thunk/enter.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppapi_plugin_instance.cc
===================================================================
--- webkit/plugins/ppapi/ppapi_plugin_instance.cc (revision 145683)
+++ webkit/plugins/ppapi/ppapi_plugin_instance.cc (working copy)
@@ -1606,7 +1606,7 @@
}
void PluginInstance::OnLockMouseACK(bool succeeded) {
- if (TrackedCallback::IsPending(lock_mouse_callback_)) {
+ if (!TrackedCallback::IsPending(lock_mouse_callback_)) {
NOTREACHED();
return;
}
« no previous file with comments | « ppapi/thunk/enter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698