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

Unified Diff: chrome/service/cloud_print/cloud_print_helpers.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
Index: chrome/service/cloud_print/cloud_print_helpers.cc
diff --git a/chrome/service/cloud_print/cloud_print_helpers.cc b/chrome/service/cloud_print/cloud_print_helpers.cc
index 71bfea74f82e41712d16da71fcd1622170999fd5..a7e4ca01977c2bc9a5e0c14d727c8b6573e830a6 100644
--- a/chrome/service/cloud_print/cloud_print_helpers.cc
+++ b/chrome/service/cloud_print/cloud_print_helpers.cc
@@ -170,7 +170,7 @@ bool CloudPrintHelpers::ParseResponseJSON(
if (!message_value.get())
return false;
- if (!message_value->IsType(Value::TYPE_DICTIONARY))
+ if (!message_value->IsDictionary())
return false;
scoped_ptr<DictionaryValue> response_dict_local(
« no previous file with comments | « chrome/renderer/extensions/extension_process_bindings.cc ('k') | chrome/service/cloud_print/print_system_cups.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698