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

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

Issue 7661009: base: Add Is* functions to Value class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nat_policy.cc 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 d6bb0dc1ae064e06c0305cc9c0cf9639cfc05e66..f144583cba58cbdc3730383784a63108646de2a0 100644
--- a/chrome/browser/history/top_sites.cc
+++ b/chrome/browser/history/top_sites.cc
@@ -683,7 +683,7 @@ void TopSites::MigratePinnedURLs() {
if (!pinned_urls_->GetWithoutPathExpansion(*it, &value))
continue;
- if (value->IsType(DictionaryValue::TYPE_DICTIONARY)) {
+ if (value->IsDictionary()) {
DictionaryValue* dict = static_cast<DictionaryValue*>(value);
std::string url_string;
int index;

Powered by Google App Engine
This is Rietveld 408576698