Index: content/browser/browsing_data/clear_site_data_throttle.cc |
diff --git a/content/browser/browsing_data/clear_site_data_throttle.cc b/content/browser/browsing_data/clear_site_data_throttle.cc |
index 00e57cef1fd0bd7e7047934bcbee01ab5977f7ab..eec778fefe8817f0cd238840f61ac4629ed37840 100644 |
--- a/content/browser/browsing_data/clear_site_data_throttle.cc |
+++ b/content/browser/browsing_data/clear_site_data_throttle.cc |
@@ -206,9 +206,9 @@ bool ClearSiteDataThrottle::ParseHeader(const std::string& header, |
*clear_cache = false; |
std::vector<std::string> type_names; |
- for (const std::unique_ptr<base::Value>& value : *types) { |
+ for (const base::Value& value : *types) { |
std::string type; |
- value->GetAsString(&type); |
+ value.GetAsString(&type); |
bool* datatype = nullptr; |
@@ -221,7 +221,7 @@ bool ClearSiteDataThrottle::ParseHeader(const std::string& header, |
} else { |
std::string serialized_type; |
JSONStringValueSerializer serializer(&serialized_type); |
- serializer.Serialize(*value); |
+ serializer.Serialize(value); |
ConsoleLog( |
messages, current_url_, |
base::StringPrintf("Invalid type: %s.", serialized_type.c_str()), |