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

Unified Diff: chrome/browser/sync/glue/session_change_processor.cc

Issue 10890023: Miscellaneous cleanups from several months ago I never got around to landing. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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: chrome/browser/sync/glue/session_change_processor.cc
===================================================================
--- chrome/browser/sync/glue/session_change_processor.cc (revision 154486)
+++ chrome/browser/sync/glue/session_change_processor.cc (working copy)
@@ -140,9 +140,8 @@
case chrome::NOTIFICATION_TAB_CONTENTS_DESTROYED: {
TabContents* tab_contents = content::Source<TabContents>(source).ptr();
SyncedTabDelegate* tab = tab_contents->synced_tab_delegate();
- if (!tab || tab->profile() != profile_) {
+ if (!tab || tab->profile() != profile_)
return;
- }
modified_tabs.push_back(tab);
DVLOG(1) << "Received NOTIFICATION_TAB_CONTENTS_DESTROYED for profile "
<< profile_;

Powered by Google App Engine
This is Rietveld 408576698