summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorweitaosu@chromium.org <weitaosu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-24 21:29:33 +0000
committerweitaosu@chromium.org <weitaosu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-24 21:29:33 +0000
commit8018c2d87872073c3e5a8c7d3fe1289796bda3e8 (patch)
tree44b0030c497fe9edaf27354c32d5ee40d45cf880 /remoting
parentc5cc12308c39fe00105af9f58f65d00cea10ff57 (diff)
downloadchromium_src-8018c2d87872073c3e5a8c7d3fe1289796bda3e8.zip
chromium_src-8018c2d87872073c3e5a8c7d3fe1289796bda3e8.tar.gz
chromium_src-8018c2d87872073c3e5a8c7d3fe1289796bda3e8.tar.bz2
Fix regression in pairing registry caused by crrev.com/131643008.
The pairing registry appears to be unsupported because supportedFeatures_ is always empty. BUG=345951 Review URL: https://codereview.chromium.org/175313005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252980 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/webapp/host_native_messaging.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/webapp/host_native_messaging.js b/remoting/webapp/host_native_messaging.js
index 102c32e..f4d2e3c 100644
--- a/remoting/webapp/host_native_messaging.js
+++ b/remoting/webapp/host_native_messaging.js
@@ -164,7 +164,7 @@ remoting.HostNativeMessaging.prototype.handleIncomingMessage_ =
this.version_ = getStringAttr(message, 'version');
// Old versions of the native messaging host do not return this list.
// Those versions default to the empty list of supported features.
- getArrayAttr(message, 'supportedFeatures', []);
+ this.supportedFeatures_ = getArrayAttr(message, 'supportedFeatures', []);
onDone();
break;