Index: content/plugin/webplugin_delegate_stub.cc |
diff --git a/content/plugin/webplugin_delegate_stub.cc b/content/plugin/webplugin_delegate_stub.cc |
index 0adb0f9b70cc48522a984fc206ba6d600f9b0f0b..e1e1e00b1998f0a8dbcfef72bbd0193354b8ef1a 100644 |
--- a/content/plugin/webplugin_delegate_stub.cc |
+++ b/content/plugin/webplugin_delegate_stub.cc |
@@ -38,7 +38,7 @@ static void DestroyWebPluginAndDelegate( |
WebPlugin* webplugin) { |
// The plugin may not expect us to try to release the scriptable object |
// after calling NPP_Destroy on the instance, so delete the stub now. |
- if (scriptable_object.get()) |
+ if (scriptable_object) |
scriptable_object->DeleteSoon(); |
// WebPlugin must outlive WebPluginDelegate. |
if (delegate) |