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

Unified Diff: pkg/polymer/lib/src/declaration.dart

Issue 524673002: call shimStyling even if we have no template, because our extendee might have one (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 months 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: pkg/polymer/lib/src/declaration.dart
diff --git a/pkg/polymer/lib/src/declaration.dart b/pkg/polymer/lib/src/declaration.dart
index 1b5a6625f02fa08e1e1f65120e66d0a9d9796a3d..42486c3b0bfc359610b9ac0bde9f8cbb94da0389 100644
--- a/pkg/polymer/lib/src/declaration.dart
+++ b/pkg/polymer/lib/src/declaration.dart
@@ -492,7 +492,7 @@ PolymerDeclaration _getDeclaration(String name) => _declarations[name];
/// Using Polymer's platform/src/ShadowCSS.js passing the style tag's content.
void _shimShadowDomStyling(DocumentFragment template, String name,
String extendee) {
- if (template == null || _ShadowCss == null ||!_hasShadowDomPolyfill) return;
+ if (_ShadowCss == null ||!_hasShadowDomPolyfill) return;
_ShadowCss.callMethod('shimStyling', [template, name, extendee]);
}
« 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