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 43757c3ccd029fda240479438ca3dc7250c5ae49..f2921dc5bc57089d0b01d85d9ab47d103d1ea2eb 100644 |
--- a/chrome/browser/tabs/tab_strip_selection_model.cc |
+++ b/chrome/browser/tabs/tab_strip_selection_model.cc |
@@ -141,3 +141,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(); |
+} |