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

Unified Diff: chrome/browser/sync/sessions2/notification_service_sessions_router.cc

Issue 132263003: sync: fix tiny bug with NotificationServiceSessionsRouter (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/sessions2/notification_service_sessions_router.cc
diff --git a/chrome/browser/sync/sessions2/notification_service_sessions_router.cc b/chrome/browser/sync/sessions2/notification_service_sessions_router.cc
index 084589078dc4cf2268441cf1f878969c40466fe4..7c96c6432d7801e55acd4294348127e9cfdfd3d2 100644
--- a/chrome/browser/sync/sessions2/notification_service_sessions_router.cc
+++ b/chrome/browser/sync/sessions2/notification_service_sessions_router.cc
@@ -135,7 +135,7 @@ void NotificationServiceSessionsRouter::OnNavigationBlocked(
content::WebContents* web_contents) {
SyncedTabDelegate* tab =
SyncedTabDelegate::ImplFromWebContents(web_contents);
- if (!tab)
+ if (!tab || !handler_)
return;
DCHECK(tab->profile() == profile_);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698