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

Unified Diff: chrome/browser/sync/profile_sync_service.cc

Issue 5991005: Chromium build failed with heap leak checker, or configured with 'gyp_chromiu... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 10 years 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 | « chrome/browser/gtk/browser_window_gtk.cc ('k') | chrome/browser/sync/syncable/model_type.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_service.cc
===================================================================
--- chrome/browser/sync/profile_sync_service.cc (revision 70187)
+++ chrome/browser/sync/profile_sync_service.cc (working copy)
@@ -554,7 +554,6 @@
return prefs::kSyncAutofill;
case syncable::AUTOFILL_PROFILE:
return prefs::kSyncAutofillProfile;
- break;
case syncable::THEMES:
return prefs::kSyncThemes;
case syncable::TYPED_URLS:
@@ -566,9 +565,10 @@
case syncable::SESSIONS:
return prefs::kSyncSessions;
default:
- NOTREACHED();
- return NULL;
+ break;
}
+ NOTREACHED();
+ return NULL;
}
// An invariant has been violated. Transition to an error state where we try
« no previous file with comments | « chrome/browser/gtk/browser_window_gtk.cc ('k') | chrome/browser/sync/syncable/model_type.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698