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

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

Issue 189213003: Refactoring two pieces of polymer: (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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
Index: pkg/polymer/lib/src/declaration.dart
diff --git a/pkg/polymer/lib/src/declaration.dart b/pkg/polymer/lib/src/declaration.dart
index 3cdaba828b519dc9f99c23779847dddb460f7dce..0fb09c2a9e53801695c4258a7f71ab32d9616b16 100644
--- a/pkg/polymer/lib/src/declaration.dart
+++ b/pkg/polymer/lib/src/declaration.dart
@@ -453,7 +453,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;

Powered by Google App Engine
This is Rietveld 408576698