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

Unified Diff: third_party/polymer/v1_0/chromium.patch

Issue 1952123002: MD Downloads: fix unvulcanized build by adding <style no-process> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: and vulcanize Created 4 years, 7 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: third_party/polymer/v1_0/chromium.patch
diff --git a/third_party/polymer/v1_0/chromium.patch b/third_party/polymer/v1_0/chromium.patch
index 9b27dc9bc16847a6fd63fea2790edbe78b915916..54e2aa07d189afd395623ac8efeaeb498c2bb6ef 100644
--- a/third_party/polymer/v1_0/chromium.patch
+++ b/third_party/polymer/v1_0/chromium.patch
@@ -13,7 +13,7 @@ diff --git a/components-chromium/polymer/polymer-extracted.js b/components-chrom
index baf9ab3..985fe6c 100644
--- a/components-chromium/polymer/polymer-extracted.js
+++ b/components-chromium/polymer/polymer-extracted.js
-@@ -2157,8 +2157,7 @@ _hasMixinRules: function (rules) {
+@@ -2444,8 +2444,7 @@ _hasMixinRules: function (rules) {
return rules[0].selector.indexOf(this.VAR_START) >= 0;
},
removeCustomProps: function (cssText) {
@@ -23,3 +23,16 @@ index baf9ab3..985fe6c 100644
},
removeCustomPropAssignment: function (cssText) {
return cssText.replace(this._rx.customProp, '').replace(this._rx.mixinProp, '');
+diff --git a/components-chromium/polymer/polymer-extracted.js b/components-chromium/polymer/polymer-extracted.js
+index 8446e8a..3f679f6 100644
+--- a/components-chromium/polymer/polymer-extracted.js
++++ b/components-chromium/polymer/polymer-extracted.js
+@@ -2475,7 +2475,7 @@ AT_START: '@'
+ }();
+ Polymer.StyleUtil = function () {
+ return {
+-MODULE_STYLES_SELECTOR: 'style, link[rel=import][type~=css], template',
++MODULE_STYLES_SELECTOR: 'style:not([no-process]), link[rel=import][type~=css], template',
+ INCLUDE_ATTR: 'include',
+ toCssText: function (rules, callback, preserveProperties) {
+ if (typeof rules === 'string') {

Powered by Google App Engine
This is Rietveld 408576698