Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
Fix typo in host_installer.js
Browse files Browse the repository at this point in the history
BUG=418859

Review URL: https://codereview.chromium.org/615803002

Cr-Commit-Position: refs/heads/master@{#297470}
(cherry picked from commit dbcbacd)

[email protected]

Review URL: https://codereview.chromium.org/618173002

Cr-Commit-Position: refs/branch-heads/2171@{#8}
Cr-Branched-From: 267aeeb-refs/heads/master@{#297060}
  • Loading branch information
SergeyUlanov committed Oct 1, 2014
1 parent ffd8084 commit 263c6b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions remoting/webapp/host_installer.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ remoting.HostInstaller.prototype.downloadAndWaitForInstall = function() {
return Promise.resolve(true);
}

if (that.downloadAndWaitForInstallPromise_ !== null) {
if (that.downloadAndWaitForInstallPromise_ === null) {
that.downloadAndWaitForInstallPromise_ = new Promise(
/** @param {Function} resolve */
function(resolve){
Expand Down Expand Up @@ -160,4 +160,4 @@ remoting.HostInstaller.prototype.cancel = function() {
this.checkInstallIntervalId_ = null;
}
this.downloadAndWaitForInstallPromise_ = null;
};
};

0 comments on commit 263c6b5

Please sign in to comment.