Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6574)

Unified Diff: chrome/browser/net/referrer.cc

Issue 2539363004: Make base::Value::TYPE a scoped enum. (Closed)
Patch Set: Rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/net/disk_cache_dir_policy_handler.cc ('k') | chrome/browser/plugins/plugin_finder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/referrer.cc
diff --git a/chrome/browser/net/referrer.cc b/chrome/browser/net/referrer.cc
index b72b6f2766e6bac6d9402f88dc68e36916739e69..e73057f23333852a5762b4eb4fc46bfd01fcfd1a 100644
--- a/chrome/browser/net/referrer.cc
+++ b/chrome/browser/net/referrer.cc
@@ -109,7 +109,7 @@ void Referrer::DeleteLeastUseful() {
}
void Referrer::Deserialize(const base::Value& value) {
- if (value.GetType() != base::Value::TYPE_LIST)
+ if (value.GetType() != base::Value::Type::LIST)
return;
const base::ListValue* subresource_list(
static_cast<const base::ListValue*>(&value));
« no previous file with comments | « chrome/browser/net/disk_cache_dir_policy_handler.cc ('k') | chrome/browser/plugins/plugin_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698