Index: chromeos/network/network_cert_migrator.cc |
diff --git a/chromeos/network/network_cert_migrator.cc b/chromeos/network/network_cert_migrator.cc |
index 613d46a6dabd3bcbb2ff8d883fd3023587c44169..fc66e4e5436fd9e10901d8ae4b16ecef8bfc7881 100644 |
--- a/chromeos/network/network_cert_migrator.cc |
+++ b/chromeos/network/network_cert_migrator.cc |
@@ -77,7 +77,7 @@ class NetworkCertMigrator::MigrationTask |
for (NetworkStateHandler::NetworkStateList::const_iterator it = |
networks.begin(); it != networks.end(); ++it) { |
if (!(*it)->HasCACertNSS() && |
- (*it)->security() != shill::kSecurity8021x && |
+ (*it)->security_class() != shill::kSecurity8021x && |
(*it)->type() != shill::kTypeVPN && |
(*it)->type() != shill::kTypeEthernetEap) { |
continue; |