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

Unified Diff: extensions/browser/extension_prefs.cc

Issue 1055453007: Added CHECKs for null pointers in ChromeAppSorting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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: extensions/browser/extension_prefs.cc
diff --git a/extensions/browser/extension_prefs.cc b/extensions/browser/extension_prefs.cc
index c4f7da2e79013c6ba7d1be3ff6de6c4d5903cb70..ecf9e88848108e40287e953d6acf1357c287d494 100644
--- a/extensions/browser/extension_prefs.cc
+++ b/extensions/browser/extension_prefs.cc
@@ -1867,6 +1867,9 @@ ExtensionPrefs::ExtensionPrefs(
time_provider_(time_provider.Pass()),
extensions_disabled_(extensions_disabled) {
app_sorting_->SetExtensionScopedPrefs(this);
+ // TODO(mgiuca): Added this CHECK to try and diagnose http://crbug.com/476648.
+ // Remove it after the investigation is concluded.
+ app_sorting_->CheckExtensionScopedPrefs();
MakePathsRelative();
// Ensure that any early observers are watching before prefs are initialized.

Powered by Google App Engine
This is Rietveld 408576698