Index: ppapi/proxy/plugin_dispatcher.cc |
diff --git a/ppapi/proxy/plugin_dispatcher.cc b/ppapi/proxy/plugin_dispatcher.cc |
index 8e05a1c7ec1a50fd6eae256f2c59706c45a80d4b..65aafc13309f71846d8afed585b0146e7c8f7ba3 100644 |
--- a/ppapi/proxy/plugin_dispatcher.cc |
+++ b/ppapi/proxy/plugin_dispatcher.cc |
@@ -56,7 +56,7 @@ InstanceData::InstanceData() |
InstanceData::~InstanceData() { |
// Run any pending mouse lock callback to prevent leaks. |
- if (mouse_lock_callback) |
+ if (mouse_lock_callback.get()) |
mouse_lock_callback->Abort(); |
} |