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

Unified Diff: net/base/crl_filter.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 | « jingle/glue/utils.cc ('k') | net/base/transport_security_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/crl_filter.cc
diff --git a/net/base/crl_filter.cc b/net/base/crl_filter.cc
index d438cc7869375f4f7ec5c85b2051d40b44131547..548dbd2f7d9aa59bfca8e3df05c66f483e739809 100644
--- a/net/base/crl_filter.cc
+++ b/net/base/crl_filter.cc
@@ -533,7 +533,7 @@ static DictionaryValue* ReadDescription(base::StringPiece* data) {
if (description.get() == NULL)
return NULL;
- if (!description->IsType(Value::TYPE_DICTIONARY))
+ if (!description->IsDictionary())
return NULL;
return reinterpret_cast<DictionaryValue*>(description.release());
}
@@ -549,7 +549,7 @@ CRLFilter* CRLFilter::CRLFilterFromHeader(base::StringPiece header_bytes) {
if (header.get() == NULL)
return NULL;
- if (!header->IsType(Value::TYPE_DICTIONARY))
+ if (!header->IsDictionary())
return NULL;
DictionaryValue* header_dict =
reinterpret_cast<DictionaryValue*>(header.get());
« no previous file with comments | « jingle/glue/utils.cc ('k') | net/base/transport_security_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698