Index: chrome/browser/tabs/tab_strip_selection_model.cc |
diff --git a/chrome/browser/tabs/tab_strip_selection_model.cc b/chrome/browser/tabs/tab_strip_selection_model.cc |
index 1164b28f7cb006a32e609df8ac394f84a3f3e687..fff9b4a39a356ed7b1cb905eafc8ed7cf228fc3a 100644 |
--- a/chrome/browser/tabs/tab_strip_selection_model.cc |
+++ b/chrome/browser/tabs/tab_strip_selection_model.cc |
@@ -139,3 +139,9 @@ void TabStripSelectionModel::Copy(const TabStripSelectionModel& source) { |
active_ = source.active_; |
anchor_ = source.anchor_; |
} |
+ |
+bool TabStripSelectionModel::Equals(const TabStripSelectionModel& rhs) const { |
+ return active_ == rhs.active() && |
+ anchor_ == rhs.anchor() && |
+ selected_indices() == rhs.selected_indices(); |
+} |