From a6bd5a5df25cb48f4b808daf3fc309b55567fac6 Mon Sep 17 00:00:00 2001 From: Kevin Schaaf Date: Tue, 14 Jul 2015 19:06:45 -0700 Subject: [PATCH] Be more explicit. --- src/standard/utils.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/standard/utils.html b/src/standard/utils.html index eb3c632bba..7985a7f8a6 100644 --- a/src/standard/utils.html +++ b/src/standard/utils.html @@ -116,8 +116,8 @@ * @return {Array} List of distributed nodes for the ``. */ getContentChildNodes: function(slctr) { - return Polymer.dom(Polymer.dom(this.root).querySelector( - slctr || 'content')).getDistributedNodes(); + var content = Polymer.dom(this.root).querySelector(slctr || 'content'); + return content ? Polymer.dom(content).getDistributedNodes() : []; }, /**