Commit 679d8845 authored by sergeyu@chromium.org's avatar sergeyu@chromium.org

Fix for CRD webapp to install the host when it's not installed and Share is cliecked

This was a regression caused by crrev.com/279513

BUG=393388
R=jamiewalch@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283423 0039d316-1c4b-4281-b951-d872f2087c98
parent ebb179b6
......@@ -41,13 +41,7 @@ remoting.tryShare = function() {
remoting.startHostUsingFacade_(hostFacade);
};
/** @param {remoting.Error} error */
var onFacadeInitializationFailed = function(error) {
if (error != remoting.Error.MISSING_PLUGIN) {
showShareError_(error);
return;
}
var onFacadeInitializationFailed = function() {
// If we failed to initialize the dispatcher then prompt the user to install
// the host manually.
var hasHostDialog = (hostInstallDialog != null); /** jscompile hack */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment