| Index: chrome/browser/resources/md_bookmarks/list.js
|
| diff --git a/chrome/browser/resources/md_bookmarks/list.js b/chrome/browser/resources/md_bookmarks/list.js
|
| index 018b9c6d6114c0a618318ee5477fce73d9a6634b..999778591d9fcfbf8072a7b1a3f0831bb5ae6b6a 100644
|
| --- a/chrome/browser/resources/md_bookmarks/list.js
|
| +++ b/chrome/browser/resources/md_bookmarks/list.js
|
| @@ -49,15 +49,7 @@ Polymer({
|
|
|
| /** @private */
|
| onDeleteTap_: function() {
|
| - if (this.menuItem_.url) {
|
| - chrome.bookmarks.remove(this.menuItem_.id, function() {
|
| - // TODO(jiaxi): Add toast later.
|
| - }.bind(this));
|
| - } else {
|
| - chrome.bookmarks.removeTree(this.menuItem_.id, function() {
|
| - // TODO(jiaxi): Add toast later.
|
| - }.bind(this));
|
| - }
|
| + this.fire('remove-item', this.menuItem_);
|
| this.closeDropdownMenu_();
|
| },
|
|
|
|
|