diff options
author | jamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-11 04:46:42 +0000 |
---|---|---|
committer | jamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-11 04:46:42 +0000 |
commit | 9de0363e0c50f9a11c6c4b527bd5027e362849c1 (patch) | |
tree | 1175227d5baff305c3e564728d9368a6be71cdf7 /remoting | |
parent | 2fb2c748a035844dcce61e627e96283f7aedd4f2 (diff) | |
download | chromium_src-9de0363e0c50f9a11c6c4b527bd5027e362849c1.zip chromium_src-9de0363e0c50f9a11c6c4b527bd5027e362849c1.tar.gz chromium_src-9de0363e0c50f9a11c6c4b527bd5027e362849c1.tar.bz2 |
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
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/host/plugin/host_script_object.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<base::DictionaryValue*>(config.release())); ScopedRefNPObject callback_obj(ObjectFromNPVariant(args[1])); - if (callback_obj.get()) { + if (!callback_obj.get()) { SetException("updateDaemonConfig: invalid callback parameter"); return false; } |