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

Unified Diff: chrome/browser/resources/md_bookmarks/item.js

Issue 2804503002: MD Bookmarks: Allow 'complex' actions to access the page state directly (Closed)
Patch Set: Self-review Created 3 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/md_bookmarks/item.js
diff --git a/chrome/browser/resources/md_bookmarks/item.js b/chrome/browser/resources/md_bookmarks/item.js
index 73b606a3c237cb3fd7b1a00e64a39f68e9d55b4f..e326270447bd9e6aae2454ff301861db4f5b5045 100644
--- a/chrome/browser/resources/md_bookmarks/item.js
+++ b/chrome/browser/resources/md_bookmarks/item.js
@@ -87,8 +87,8 @@ Polymer({
* @private
*/
onClick_: function(e) {
- this.dispatch(bookmarks.actions.selectItem(
- this.itemId, e.ctrlKey, e.shiftKey, this.getState()));
+ this.dispatch(
+ bookmarks.actions.selectItem(this.itemId, e.ctrlKey, e.shiftKey));
e.stopPropagation();
},

Powered by Google App Engine
This is Rietveld 408576698