Index: pkg/polymer/lib/src/declaration.dart |
diff --git a/pkg/polymer/lib/src/declaration.dart b/pkg/polymer/lib/src/declaration.dart |
index c3eb0b540c5fe7f09f4efae621a42b6b749d5e54..e79f8bd9b88214d47ab6b8eb6dfc9c3474142dfa 100644 |
--- a/pkg/polymer/lib/src/declaration.dart |
+++ b/pkg/polymer/lib/src/declaration.dart |
@@ -448,7 +448,7 @@ String _cssTextFromSheet(LinkElement sheet) { |
// In deploy mode we should never do a sync XHR; link rel=stylesheet will |
// be inlined into a <style> tag by ImportInliner. |
- if (_deployMode) return ''; |
+ if (loader.deployMode) return ''; |
// TODO(jmesserly): sometimes the href property is wrong after deployment. |
var href = sheet.href; |