Chromium Code Reviews
DescriptionOnly check if a 'new' preference already exists in checking builds
PrefService::RegisterPref should never be called with an existing preference. It is a bug in Chromium if it is. The existing code checked this whether or not DCHECK checks were enabled. It isn't necessary to check this if DCHECKs are disabled.
BUG=158818
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=165372
Patch Set 1 #
Total comments: 2
Patch Set 2 : Code review fix #Messages
Total messages: 6 (0 generated)
|