From ed5f7f279b56267b2edc8f25e3f8f4bafb6a6a49 Mon Sep 17 00:00:00 2001 From: Steven Orvell Date: Wed, 14 Nov 2018 11:02:18 -0800 Subject: [PATCH] Use closure-safe name --- lib/legacy/class.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/legacy/class.js b/lib/legacy/class.js index cb74524300..9206907764 100644 --- a/lib/legacy/class.js +++ b/lib/legacy/class.js @@ -194,7 +194,7 @@ function GenerateClassFromInfo(info, Base, behaviors) { // explicitly not calling super._finalizeClass static _finalizeClass() { // if calling via a subclass that hasn't been generated, pass through to super - if (!this.hasOwnProperty('generatedFrom')) { + if (!this.hasOwnProperty(window.JSCompiler_renameProperty('generatedFrom', this))) { super._finalizeClass(); } else { // interleave properties and observers per behavior and `info`