Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(857)

Unified Diff: remoting/webapp/base/js/client_plugin_impl.js

Issue 1153923007: Add a menu option for the right-hand Ctrl -> Meta mapping. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reviewer feedback. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/resources/remoting_strings.grd ('k') | remoting/webapp/base/js/host.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/base/js/client_plugin_impl.js
diff --git a/remoting/webapp/base/js/client_plugin_impl.js b/remoting/webapp/base/js/client_plugin_impl.js
index c09db4f605e822f1296b441e72de9a456d27f741..fb321454a77fe9c412d0556f7516bb5d6bb95213 100644
--- a/remoting/webapp/base/js/client_plugin_impl.js
+++ b/remoting/webapp/base/js/client_plugin_impl.js
@@ -550,7 +550,7 @@ remoting.ClientPluginImpl.prototype.setRemapKeys =
// Cancel any existing remappings and apply the new ones.
this.applyRemapKeys_(this.keyRemappings_, false);
this.applyRemapKeys_(remappings, true);
- this.keyRemappings_ = remappings;
+ this.keyRemappings_ = /** @type {!Object} */ (base.deepCopy(remappings));
};
/**
« no previous file with comments | « remoting/resources/remoting_strings.grd ('k') | remoting/webapp/base/js/host.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698