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

Unified Diff: chrome/installer/util/google_chrome_distribution.cc

Issue 7661009: base: Add Is* functions to Value class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tony review 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
« no previous file with comments | « chrome/common/web_resource/web_resource_unpacker.cc ('k') | chrome/installer/util/master_preferences.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/google_chrome_distribution.cc
diff --git a/chrome/installer/util/google_chrome_distribution.cc b/chrome/installer/util/google_chrome_distribution.cc
index bfb98f3d79451eafcea0c7c557f175f0a5e0fe10..40a71211d268f18b8b8f4f45d0868fe33adccee2 100644
--- a/chrome/installer/util/google_chrome_distribution.cc
+++ b/chrome/installer/util/google_chrome_distribution.cc
@@ -315,7 +315,7 @@ bool GoogleChromeDistribution::ExtractUninstallMetricsFromFile(
return false;
// Preferences should always have a dictionary root.
- if (!root->IsType(Value::TYPE_DICTIONARY))
+ if (!root->IsDictionary())
return false;
return ExtractUninstallMetrics(*static_cast<DictionaryValue*>(root.get()),
« no previous file with comments | « chrome/common/web_resource/web_resource_unpacker.cc ('k') | chrome/installer/util/master_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698