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 dee795211e62ac56c7d9dbfc28cad41842ca1344..266db59f5d59c48b0b82b2a5871a76b7ae43080d 100644 |
--- a/chrome/renderer/resources/extensions/enterprise_platform_keys/token.js |
+++ b/chrome/renderer/resources/extensions/enterprise_platform_keys/token.js |
@@ -15,5 +15,14 @@ var TokenImpl = function(id) { |
this.subtleCrypto = new SubtleCrypto(id); |
}; |
-exports.Token = |
- utils.expose('Token', TokenImpl, {readonly:['id', 'subtleCrypto']}); |
+function Token() { |
+ privates(Token).constructPrivate(this, arguments); |
+} |
+utils.expose(Token, TokenImpl, { |
+ readonly: [ |
+ 'id', |
+ 'subtleCrypto', |
+ ], |
+}); |
+ |
+exports.$set('Token', Token); |