diff options
author | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-08 19:41:54 +0000 |
---|---|---|
committer | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-08 19:41:54 +0000 |
commit | 99623b013af0c702a7eb065b2c52aa577efd73e0 (patch) | |
tree | 81b2a14ab6957fcc00240c9778df52c7360f1ea3 /remoting/webapp/client_screen.js | |
parent | 3b7efa429ff1f345615fbd4d5ced0ec5e0c510f1 (diff) | |
download | chromium_src-99623b013af0c702a7eb065b2c52aa577efd73e0.zip chromium_src-99623b013af0c702a7eb065b2c52aa577efd73e0.tar.gz chromium_src-99623b013af0c702a7eb065b2c52aa577efd73e0.tar.bz2 |
Chromoting: Fix JS compile warning in client_screen.js.
client_screen.js:420: ERROR - inconsistent return type
found : (boolean|number)
required: boolean
return version && version >= 4;
^
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/9361005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121024 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/webapp/client_screen.js')
-rw-r--r-- | remoting/webapp/client_screen.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/webapp/client_screen.js b/remoting/webapp/client_screen.js index cf42b43..7479ace 100644 --- a/remoting/webapp/client_screen.js +++ b/remoting/webapp/client_screen.js @@ -417,7 +417,7 @@ remoting.isPinAuthSupported = function () { document.body.appendChild(plugin); var version = plugin.apiVersion; document.body.removeChild(plugin); - return version && version >= 4; + return version >= 4; }; /** |