Index: chrome/browser/resources/md_history/history_item.js |
diff --git a/chrome/browser/resources/md_history/history_item.js b/chrome/browser/resources/md_history/history_item.js |
index 4d369a3b423f0a66d1aa760427f3918cde85cb13..8f09ce14115888a596fd49f24cebcef0eee45baa 100644 |
--- a/chrome/browser/resources/md_history/history_item.js |
+++ b/chrome/browser/resources/md_history/history_item.js |
@@ -14,7 +14,7 @@ cr.define('md_history', function() { |
// Search term used to obtain this history-item. |
searchTerm: {type: String}, |
- selected: {type: Boolean, notify: true}, |
+ selected: {type: Boolean, reflectToAttribute: true}, |
isFirstItem: {type: Boolean, reflectToAttribute: true}, |
@@ -74,6 +74,15 @@ cr.define('md_history', function() { |
}, |
/** |
+ * @param {bool} bool |
+ * @return {string} |
+ * @private |
+ */ |
+ getBoolString_: function(bool) { |
+ return bool ? 'true' : 'false'; |
+ }, |
+ |
+ /** |
* Remove bookmark of current item when bookmark-star is clicked. |
* @private |
*/ |