Index: chromeos/network/prohibited_technologies_handler.cc |
diff --git a/chromeos/network/prohibited_technologies_handler.cc b/chromeos/network/prohibited_technologies_handler.cc |
index 97bdec9d2b1612722a3a23f239a568313957c852..69bc5039ca1d67b5a7e6ed24d234f0d9a7168d65 100644 |
--- a/chromeos/network/prohibited_technologies_handler.cc |
+++ b/chromeos/network/prohibited_technologies_handler.cc |
@@ -65,7 +65,7 @@ void ProhibitedTechnologiesHandler::SetProhibitedTechnologies( |
prohibited_technologies_.clear(); |
for (const auto& item : *prohibited_list) { |
std::string prohibited_technology; |
- bool item_is_string = item->GetAsString(&prohibited_technology); |
+ bool item_is_string = item.GetAsString(&prohibited_technology); |
DCHECK(item_is_string); |
std::string translated_tech = |
network_util::TranslateONCTypeToShill(prohibited_technology); |