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

Unified Diff: extensions/renderer/resources/utils.js

Issue 2487543002: [M54 merge][extension bindings] Remove leak of internal class (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/resources/utils.js
diff --git a/extensions/renderer/resources/utils.js b/extensions/renderer/resources/utils.js
index 26aa5e8ed3e4b30bae4ccde6ab0dddaad5583671..2cefb15144a16c4c20ca5aeb22402bb460d66c32 100644
--- a/extensions/renderer/resources/utils.js
+++ b/extensions/renderer/resources/utils.js
@@ -107,8 +107,6 @@ function defineProperty(obj, key, value) {
* properties and |readonly| are read-only properties.
*/
function expose(publicClass, privateClass, exposed) {
- DCHECK(!(privateClass.prototype instanceof $Object.self));
-
$Object.setPrototypeOf(exposed, null);
// This should be called by publicClass.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698