Index: chrome/browser/history/top_sites.cc |
diff --git a/chrome/browser/history/top_sites.cc b/chrome/browser/history/top_sites.cc |
index b217378cf8c828c45159a9597f221c67a174626e..81aad4a6bc37061b53032b73bf54bfa28c6482c7 100644 |
--- a/chrome/browser/history/top_sites.cc |
+++ b/chrome/browser/history/top_sites.cc |
@@ -364,7 +364,7 @@ void TopSites::AddBlacklistedURL(const GURL& url) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
RemovePinnedURL(url); |
- Value* dummy = Value::CreateNullValue(); |
+ Value* dummy = base::NullValue(); |
{ |
DictionaryPrefUpdate update(profile_->GetPrefs(), |
prefs::kNTPMostVisitedURLsBlacklist); |
@@ -415,7 +415,7 @@ void TopSites::AddPinnedURL(const GURL& url, size_t pinned_index) { |
if (IsURLPinned(url)) |
RemovePinnedURL(url); |
- Value* index = Value::CreateIntegerValue(pinned_index); |
+ Value* index = base::NumberValue::New(static_cast<int>(pinned_index)); |
{ |
DictionaryPrefUpdate update(profile_->GetPrefs(), |