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

Unified Diff: chrome/browser/extensions/extension_service_unittest.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/browser/extensions/extension_service_unittest.cc
diff --git a/chrome/browser/extensions/extension_service_unittest.cc b/chrome/browser/extensions/extension_service_unittest.cc
index 5111f31b9f6c4cf061e5db5baecb05140b7c5a87..0dcb1a59cf55242a926c3d7dabf30afe4f9d7b31 100644
--- a/chrome/browser/extensions/extension_service_unittest.cc
+++ b/chrome/browser/extensions/extension_service_unittest.cc
@@ -222,7 +222,7 @@ class MockProviderVisitor
JSONStringValueSerializer serializer(json_data);
Value* json_value = serializer.Deserialize(NULL, NULL);
- if (!json_value || !json_value->IsType(Value::TYPE_DICTIONARY)) {
+ if (!json_value || !json_value->IsDictionary()) {
NOTREACHED() << "Unable to deserialize json data";
return -1;
} else {
« no previous file with comments | « chrome/browser/extensions/extension_proxy_api.cc ('k') | chrome/browser/extensions/extension_settings_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698