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

Unified Diff: chrome/service/service_process_prefs.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/service/cloud_print/print_system_cups.cc ('k') | chrome/test/automation/automation_json_requests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/service_process_prefs.cc
diff --git a/chrome/service/service_process_prefs.cc b/chrome/service/service_process_prefs.cc
index 8eb29622038a08c679a9de185de8822094016088..45678dedf6da56c4f5bda13c3b04fef7f9c42b5f 100644
--- a/chrome/service/service_process_prefs.cc
+++ b/chrome/service/service_process_prefs.cc
@@ -48,7 +48,7 @@ void ServiceProcessPrefs::GetDictionary(const std::string& key,
const DictionaryValue** result) {
const Value* value;
if (prefs_->GetValue(key, &value) != PersistentPrefStore::READ_OK ||
- !value->IsType(Value::TYPE_DICTIONARY)) {
+ !value->IsDictionary()) {
return;
}
« no previous file with comments | « chrome/service/cloud_print/print_system_cups.cc ('k') | chrome/test/automation/automation_json_requests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698