Index: chrome/browser/net/predictor_unittest.cc |
diff --git a/chrome/browser/net/predictor_unittest.cc b/chrome/browser/net/predictor_unittest.cc |
index 58aab262c79eb192c8f2b2bf34e28d726568e1df..f44178d68832802cf4d026bf16d8681d65c7d98c 100644 |
--- a/chrome/browser/net/predictor_unittest.cc |
+++ b/chrome/browser/net/predictor_unittest.cc |
@@ -283,8 +283,7 @@ static ListValue* FindSerializationMotivation( |
// Create a new empty serialization list. |
static ListValue* NewEmptySerializationList() { |
base::ListValue* list = new base::ListValue; |
- list->Append( |
- new base::FundamentalValue(Predictor::PREDICTOR_REFERRER_VERSION)); |
+ list->Append(base::NumberValue::New(Predictor::PREDICTOR_REFERRER_VERSION)); |
return list; |
} |
@@ -301,7 +300,7 @@ static void AddToSerializedList(const GURL& motivation, |
if (!motivation_list) { |
// This is the first mention of this motivation, so build a list. |
motivation_list = new ListValue; |
- motivation_list->Append(new StringValue(motivation.spec())); |
+ motivation_list->Append(base::StringValue::New(motivation.spec())); |
// Provide empty subresource list. |
motivation_list->Append(new ListValue()); |
@@ -318,7 +317,7 @@ static void AddToSerializedList(const GURL& motivation, |
// existing value(s) will be added to the referrer. |
subresource_list->Append(new base::StringValue(subresource.spec())); |
- subresource_list->Append(new base::FundamentalValue(use_rate)); |
+ subresource_list->Append(base::NumberValue::New(use_rate)); |
} |
static const int kLatencyNotFound = -1; |