Index: chrome/browser/bookmarks/bookmark_model.cc |
=================================================================== |
--- chrome/browser/bookmarks/bookmark_model.cc (revision 143165) |
+++ chrome/browser/bookmarks/bookmark_model.cc (working copy) |
@@ -679,9 +679,8 @@ |
} |
if (profile_) { |
- HistoryService* history = |
- HistoryServiceFactory::GetForProfile(profile_, |
sky
2012/06/21 17:14:31
Keep this as it was.
|
- Profile::EXPLICIT_ACCESS); |
+ HistoryService* history = HistoryServiceFactory::GetForProfileIfExists( |
+ profile_, Profile::EXPLICIT_ACCESS); |
if (history) |
history->URLsNoLongerBookmarked(details.changed_urls); |
} |