| Index: webkit/plugins/ppapi/ppapi_plugin_instance.cc
|
| diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.cc b/webkit/plugins/ppapi/ppapi_plugin_instance.cc
|
| index b18df2c3d8f05c7a8d126a400978df8bc4d22047..27307fa8b1e78d9d0582167d80d5cd06fac35b98 100644
|
| --- a/webkit/plugins/ppapi/ppapi_plugin_instance.cc
|
| +++ b/webkit/plugins/ppapi/ppapi_plugin_instance.cc
|
| @@ -1520,20 +1520,15 @@ int32_t PluginInstance::LockMouse(PP_Instance instance,
|
| if (lock_mouse_callback_.func)
|
| return PP_ERROR_INPROGRESS;
|
|
|
| - // TODO(yzshen): Uncomment the following lines after adding implementation in
|
| - // the delegate.
|
| - // lock_mouse_callback_ = callback;
|
| + lock_mouse_callback_ = callback;
|
| // We will be notified on completion via OnLockMouseACK(), either
|
| // synchronously or asynchronously.
|
| - // delegate()->LockMouse(this);
|
| - // return PP_OK_COMPLETIONPENDING;
|
| - return PP_ERROR_FAILED;
|
| + delegate()->LockMouse(this);
|
| + return PP_OK_COMPLETIONPENDING;
|
| }
|
|
|
| void PluginInstance::UnlockMouse(PP_Instance instance) {
|
| - // TODO(yzshen): Uncomment the following after adding implementation in the
|
| - // delegate.
|
| - // delegate()->UnlockMouse(this);
|
| + delegate()->UnlockMouse(this);
|
| }
|
|
|
| void PluginInstance::SubscribeToPolicyUpdates(PP_Instance instance) {
|
|
|