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

Unified Diff: chrome/browser/automation/automation_provider_observers.cc

Issue 17382005: Unbreak tabs.onRemove extension API in face of fast tab closure Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't modify content Created 7 years, 6 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/automation/automation_provider_observers.cc
diff --git a/chrome/browser/automation/automation_provider_observers.cc b/chrome/browser/automation/automation_provider_observers.cc
index 7a7823d172692f2bc8b850c6317375827ee55959..e3fc02c41db46db92bba2c42345911785fc544d0 100644
--- a/chrome/browser/automation/automation_provider_observers.cc
+++ b/chrome/browser/automation/automation_provider_observers.cc
@@ -495,7 +495,8 @@ void TabCountChangeObserver::TabInsertedAt(WebContents* contents,
}
void TabCountChangeObserver::TabDetachedAt(WebContents* contents,
- int index) {
+ int index,
+ bool closing_all) {
CheckTabCount();
}

Powered by Google App Engine
This is Rietveld 408576698