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

Unified Diff: remoting/webapp/base/js/host.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/webapp/base/js/client_plugin_impl.js ('k') | remoting/webapp/crd/html/toolbar.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/base/js/host.js
diff --git a/remoting/webapp/base/js/host.js b/remoting/webapp/base/js/host.js
index 48b62406e4b36febbbf50d84da469fdf98b5fecf..a7c7e8dcb4898335cb1afaac24def638d07116fb 100644
--- a/remoting/webapp/base/js/host.js
+++ b/remoting/webapp/base/js/host.js
@@ -99,7 +99,7 @@ remoting.Host.Options.prototype.load = function() {
} else if (typeof(remappings) !== 'object') {
remappings = {};
}
- that.remapKeys = remappings;
+ that.remapKeys = /** @type {!Object} */ (base.deepCopy(remappings));
});
};
« no previous file with comments | « remoting/webapp/base/js/client_plugin_impl.js ('k') | remoting/webapp/crd/html/toolbar.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698