Index: chrome/browser/profiles/profile_impl.cc |
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
index 40904e3c49b1282bd8fa2932d82522c5c03eae5d..c7daad6428718f6a87adb09e40db941da26ce6e2 100644 |
--- a/chrome/browser/profiles/profile_impl.cc |
+++ b/chrome/browser/profiles/profile_impl.cc |
@@ -853,10 +853,10 @@ void ProfileImpl::OnPrefsLoaded(bool success) { |
prefs_->SetBoolean(prefs::kSessionExitedCleanly, true); |
#if defined(OS_ANDROID) && defined(FULL_SAFE_BROWSING) |
- // Force safe browsing to false in the case we need to roll back for users |
- // enrolled in Finch trial before. |
+ // Clear safe browsing setting in the case we need to roll back |
+ // for users enrolled in Finch trial before. |
if (!SafeBrowsingService::IsEnabledByFieldTrial()) |
- prefs_->SetBoolean(prefs::kSafeBrowsingEnabled, false); |
+ prefs_->ClearPref(prefs::kSafeBrowsingEnabled); |
#endif |
g_browser_process->profile_manager()->InitProfileUserPrefs(this); |