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

Unified Diff: chrome/browser/extensions/script_badge_controller.cc

Issue 10823142: Fix a race condition when an IconAnimation is still running at browser shutdown. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits. Created 8 years, 5 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/extensions/script_badge_controller.cc
diff --git a/chrome/browser/extensions/script_badge_controller.cc b/chrome/browser/extensions/script_badge_controller.cc
index c416231475c317661a69832e7f200db18df61cac..5ef797c638a7a0fa67c170d31be7d1be3bb4a4a0 100644
--- a/chrome/browser/extensions/script_badge_controller.cc
+++ b/chrome/browser/extensions/script_badge_controller.cc
@@ -186,6 +186,7 @@ bool ScriptBadgeController::MarkExtensionExecuting(
if (!script_badge)
return false;
+ script_badge->SetIsVisible(SessionID::IdForTab(tab_contents_), true);
script_badge->RunIconAnimation(SessionID::IdForTab(tab_contents_));
return true;
« no previous file with comments | « chrome/browser/extensions/api/extension_action/script_badge_apitest.cc ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698