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

Unified Diff: trunk/src/chrome/browser/extensions/shell_window_registry.cc

Issue 22356002: Revert 215745 "Fix crash when reloading packaged app. " (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 4 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: trunk/src/chrome/browser/extensions/shell_window_registry.cc
===================================================================
--- trunk/src/chrome/browser/extensions/shell_window_registry.cc (revision 215781)
+++ trunk/src/chrome/browser/extensions/shell_window_registry.cc (working copy)
@@ -85,10 +85,9 @@
const ShellWindowList::iterator it = std::find(shell_windows_.begin(),
shell_windows_.end(),
shell_window);
- if (it != shell_windows_.end()) {
+ if (it != shell_windows_.end())
shell_windows_.erase(it);
- FOR_EACH_OBSERVER(Observer, observers_, OnShellWindowRemoved(shell_window));
- }
+ FOR_EACH_OBSERVER(Observer, observers_, OnShellWindowRemoved(shell_window));
}
void ShellWindowRegistry::AddObserver(Observer* observer) {

Powered by Google App Engine
This is Rietveld 408576698