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

Unified Diff: chrome/browser/resources/media_router/elements/media_router_search_highlighter/media_router_search_highlighter.js

Issue 1933013002: [Media Router WebUI] Remove unnecessary default property values. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. 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: chrome/browser/resources/media_router/elements/media_router_search_highlighter/media_router_search_highlighter.js
diff --git a/chrome/browser/resources/media_router/elements/media_router_search_highlighter/media_router_search_highlighter.js b/chrome/browser/resources/media_router/elements/media_router_search_highlighter/media_router_search_highlighter.js
index 317907f2843fd46247350581db0284e23249eed8..a38aa7f9ef6ce8ef9de974d05f2eee9c5d09db8c 100644
--- a/chrome/browser/resources/media_router/elements/media_router_search_highlighter/media_router_search_highlighter.js
+++ b/chrome/browser/resources/media_router/elements/media_router_search_highlighter/media_router_search_highlighter.js
@@ -24,11 +24,11 @@ Polymer({
* null corresponds to an empty string when the arrays are being combined.
* So both examples reproduce the text 'living room', but with different
* words highlighted.
- * @type {{highlightedText: !Array<?string>, plainText: !Array<?string>}}
+ * @type {{highlightedText: !Array<?string>,
+ * plainText: !Array<?string>}|undefined}
*/
data: {
type: Object,
- value: null,
observer: 'dataChanged_',
},
@@ -36,11 +36,10 @@ Polymer({
* The text that this element is displaying as a plain string. The primary
* purpose for this property is to make getting this element's textContent
* easy for testing.
- * @type {?string}
+ * @type {string|undefined}
*/
text: {
type: String,
- value: null,
readOnly: true,
notify: false,
},

Powered by Google App Engine
This is Rietveld 408576698