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

Unified Diff: chrome/browser/history/top_sites.cc

Issue 7649006: more changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix another typo Created 9 years, 4 months 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
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(),
« no previous file with comments | « chrome/browser/geolocation/geolocation_content_settings_map.cc ('k') | chrome/browser/media/media_internals.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698