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

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

Issue 1862213002: Roll third_party/polymer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 d67b3e7384969dd41764db054535b2ec1fc57f84..9b27dc9bc16847a6fd63fea2790edbe78b915916 100644
--- a/third_party/polymer/v1_0/chromium.patch
+++ b/third_party/polymer/v1_0/chromium.patch
@@ -23,91 +23,3 @@ index baf9ab3..985fe6c 100644
},
removeCustomPropAssignment: function (cssText) {
return cssText.replace(this._rx.customProp, '').replace(this._rx.mixinProp, '');
-diff --git a/components-chromium/paper-input/paper-input-addon-behavior-extracted.js b/components-chromium/paper-input/paper-input-addon-behavior-extracted.js
-index d3e469c2..94313dd 100644
---- a/components-chromium/paper-input/paper-input-addon-behavior-extracted.js
-+++ b/components-chromium/paper-input/paper-input-addon-behavior-extracted.js
-@@ -17,10 +17,10 @@
- /**
- * The function called by `<paper-input-container>` when the input value or validity changes.
- * @param {{
-- * inputElement: (Node|undefined),
-+ * inputElement: (Element|undefined),
- * value: (string|undefined),
-- * invalid: (boolean|undefined)
-- * }} state All properties are optional -
-+ * invalid: boolean
-+ * }} state -
- * inputElement: The input element.
- * value: The input value.
- * invalid: True if the input value is invalid.
-@@ -28,4 +28,4 @@
- update: function(state) {
- }
-
-- };
-\ No newline at end of file
-+ };
-diff --git a/components-chromium/paper-input/paper-input-char-counter-extracted.js b/comp
-onents-chromium/paper-input/paper-input-char-counter-extracted.js
-index 6577627..e5bb409 100644
---- a/components-chromium/paper-input/paper-input-char-counter-extracted.js
-+++ b/components-chromium/paper-input/paper-input-char-counter-extracted.js
-@@ -12,6 +12,17 @@ Polymer({
- }
- },
-
-+ /**
-+ * This overrides the update function in PaperInputAddonBehavior.
-+ * @param {{
-+ * inputElement: (Element|undefined),
-+ * value: (string|undefined),
-+ * invalid: boolean
-+ * }} state -
-+ * inputElement: The input element.
-+ * value: The input value.
-+ * invalid: True if the input value is invalid.
-+ */
- update: function(state) {
- if (!state.inputElement) {
- return;
-@@ -20,11 +31,11 @@ Polymer({
- state.value = state.value || '';
-
-- var counter = state.value.length;
-+ var counter = state.value.length.toString();
-
- if (state.inputElement.hasAttribute('maxlength')) {
- counter += '/' + state.inputElement.getAttribute('maxlength');
- }
-
- this._charCounterStr = counter;
- }
-- });
-\ No newline at end of file
-+ });
-diff --git a/components-chromium/paper-input/paper-input-error-extracted.js b/components-chromium/paper-input/paper-input-error-extracted.js
-index ac6fe00..fb45601 100644
---- a/components-chromium/paper-input/paper-input-error-extracted.js
-+++ b/components-chromium/paper-input/paper-input-error-extracted.js
-@@ -16,7 +16,18 @@ Polymer({
- }
- },
-
-+ /**
-+ * This overrides the update function in PaperInputAddonBehavior.
-+ * @param {{
-+ * inputElement: (Element|undefined),
-+ * value: (string|undefined),
-+ * invalid: boolean
-+ * }} state -
-+ * inputElement: The input element.
-+ * value: The input value.
-+ * invalid: True if the input value is invalid.
-+ */
- update: function(state) {
- this._setInvalid(state.invalid);
- }
-- });
-\ No newline at end of file
-+ });

Powered by Google App Engine
This is Rietveld 408576698