Index: chrome/renderer/resources/extensions/enterprise_platform_keys/token.js |
diff --git a/chrome/renderer/resources/extensions/enterprise_platform_keys/token.js b/chrome/renderer/resources/extensions/enterprise_platform_keys/token.js |
index 266db59f5d59c48b0b82b2a5871a76b7ae43080d..5253808b23f7cbf2ec6b45ed50befbb9cb9c70ef 100644 |
--- a/chrome/renderer/resources/extensions/enterprise_platform_keys/token.js |
+++ b/chrome/renderer/resources/extensions/enterprise_platform_keys/token.js |
@@ -10,10 +10,11 @@ var SubtleCrypto = require('enterprise.platformKeys.SubtleCrypto').SubtleCrypto; |
* @param {string} id The id of the new Token. |
* @constructor |
*/ |
-var TokenImpl = function(id) { |
+function TokenImpl(id) { |
this.id = id; |
this.subtleCrypto = new SubtleCrypto(id); |
-}; |
+} |
+$Object.setPrototypeOf(TokenImpl.prototype, null); |
function Token() { |
privates(Token).constructPrivate(this, arguments); |