Index: chrome/renderer/resources/extensions/platform_keys/key.js |
diff --git a/chrome/renderer/resources/extensions/platform_keys/key.js b/chrome/renderer/resources/extensions/platform_keys/key.js |
index ee29bf01691b443b4064db61746ae5655ac5b15f..bea1fc402a187f89a335f8d7575752fcca58b4b1 100644 |
--- a/chrome/renderer/resources/extensions/platform_keys/key.js |
+++ b/chrome/renderer/resources/extensions/platform_keys/key.js |
@@ -49,10 +49,17 @@ Object.defineProperty(KeyBase.prototype, 'algorithm', { |
} |
}); |
-var Key = utils.expose( |
- 'Key', |
- KeyImpl, |
- {superclass: KeyBase, readonly: ['extractable', 'type', 'usages']}); |
+function Key() { |
+ privates(Key).constructPrivate(this, arguments); |
+} |
+utils.expose(Key, KeyImpl, { |
+ superclass: KeyBase, |
+ readonly: [ |
+ 'extractable', |
+ 'type', |
+ 'usages', |
+ ], |
+}); |
/** |
* Returns |key|'s Subject Public Key Info. Throws an exception if |key| is not |