From 9de0363e0c50f9a11c6c4b527bd5027e362849c1 Mon Sep 17 00:00:00 2001 From: "jamiewalch@chromium.org" Date: Wed, 11 Apr 2012 04:46:42 +0000 Subject: Fixed missing negation. BUG=None TEST=Manual Review URL: http://codereview.chromium.org/10034004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131713 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/host/plugin/host_script_object.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remoting') diff --git a/remoting/host/plugin/host_script_object.cc b/remoting/host/plugin/host_script_object.cc index 5743a96..334df058 100644 --- a/remoting/host/plugin/host_script_object.cc +++ b/remoting/host/plugin/host_script_object.cc @@ -689,7 +689,7 @@ bool HostNPScriptObject::UpdateDaemonConfig(const NPVariant* args, reinterpret_cast(config.release())); ScopedRefNPObject callback_obj(ObjectFromNPVariant(args[1])); - if (callback_obj.get()) { + if (!callback_obj.get()) { SetException("updateDaemonConfig: invalid callback parameter"); return false; } -- cgit v1.1