Index: chrome/browser/ui/webui/ntp/most_visited_handler.cc |
diff --git a/chrome/browser/ui/webui/ntp/most_visited_handler.cc b/chrome/browser/ui/webui/ntp/most_visited_handler.cc |
index 04fc313fe7f37d1cc554a136052016e4497d9ba8..0d4e94dbcf03f96fc9f0095d0ccbe6f22e1427f5 100644 |
--- a/chrome/browser/ui/webui/ntp/most_visited_handler.cc |
+++ b/chrome/browser/ui/webui/ntp/most_visited_handler.cc |
@@ -235,7 +235,7 @@ bool MostVisitedHandler::GetPinnedURLAtIndex(int index, |
it != pinned_urls->end_keys(); ++it) { |
Value* value; |
if (pinned_urls->GetWithoutPathExpansion(*it, &value)) { |
- if (!value->IsType(DictionaryValue::TYPE_DICTIONARY)) { |
+ if (!value->IsDictionary()) { |
// Moved on to TopSites and now going back. |
DictionaryPrefUpdate update(prefs, prefs::kNTPMostVisitedPinnedURLs); |
update.Get()->Clear(); |