Index: chrome/browser/prefs/session_startup_pref.cc |
diff --git a/chrome/browser/prefs/session_startup_pref.cc b/chrome/browser/prefs/session_startup_pref.cc |
index 69bd41858ea091181f23d51dff50ad6fb0a85a7b..e28872a97d63f744f380bc8b69a52c241acbbf09 100644 |
--- a/chrome/browser/prefs/session_startup_pref.cc |
+++ b/chrome/browser/prefs/session_startup_pref.cc |
@@ -256,8 +256,8 @@ void SessionStartupPref::MigrateMacDefaultPrefIfNecessary(PrefService* prefs) { |
bool old_profile_version = |
!prefs->FindPreference( |
prefs::kProfileCreatedByVersion)->IsDefaultValue() && |
- Version(prefs->GetString(prefs::kProfileCreatedByVersion)).IsOlderThan( |
- "21.0.1180.0"); |
+ base::Version(prefs->GetString(prefs::kProfileCreatedByVersion)). |
+ IsOlderThan("21.0.1180.0"); |
if (old_profile_version && TypeIsDefault(prefs)) |
prefs->SetInteger(prefs::kRestoreOnStartup, kPrefValueLast); |
#endif |