From 9d33ecb9a5483477d053191b22ef40e3c8c3be36 Mon Sep 17 00:00:00 2001 From: Steven Orvell Date: Tue, 6 Nov 2018 15:30:42 -0800 Subject: [PATCH] Remove unnecessary setting of `_template`. --- lib/legacy/class.html | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/legacy/class.html b/lib/legacy/class.html index e05dd716d4..4269b002ea 100644 --- a/lib/legacy/class.html +++ b/lib/legacy/class.html @@ -493,15 +493,6 @@ klass = GenerateClassFromInfo(info, klass, info.behaviors); // decorate klass with registration info klass.is = info.is; - // To match 1.x behavior, `_template` supplied on a behavior should take - // precedence over dom-module lookup for `is`; this also prevents - // dom-module injection under strictTemplatePolicy for an element that - // would normally get its template from a behavior. - // TODO(sorvell): Remove once "flattened behaviors" lands, since both - // `_template` and `is` will be on the same class after that change - if (klass.prototype._template !== undefined) { - klass.prototype._template = klass.prototype._template; - } return klass; };