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

Unified Diff: ui/webui/resources/js/polymer_config.js

Issue 2087173003: Use native CSS variables in Polymer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: ui/webui/resources/js/polymer_config.js
diff --git a/ui/webui/resources/js/polymer_config.js b/ui/webui/resources/js/polymer_config.js
index 8e95ec972942297dcac1a4b3812fed991be27904..02e4d9f305bf5b184ca1a0db4d0d07cd0fa6081d 100644
--- a/ui/webui/resources/js/polymer_config.js
+++ b/ui/webui/resources/js/polymer_config.js
@@ -2,7 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-if (typeof Polymer == 'undefined')
- Polymer = {dom: 'shadow', lazyRegister: true};
-else
+if (typeof Polymer == 'undefined') {
+ Polymer = {
+ dom: 'shadow',
+ lazyRegister: true,
+ useNativeCSSProperties: true,
+ };
+} else {
console.error('Polymer is already defined.');
+}
« 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