Index: net/base/sdch_dictionary.cc |
diff --git a/net/base/sdch_dictionary.cc b/net/base/sdch_dictionary.cc |
index 59297dae277a5693a24792cfec23b7013ba610cb..6e4abe10247c3f4945bb8b17efcf0da4da111a55 100644 |
--- a/net/base/sdch_dictionary.cc |
+++ b/net/base/sdch_dictionary.cc |
@@ -128,7 +128,7 @@ SdchProblemCode SdchDictionary::CanUse(const GURL& target_url) const { |
if (path_.size() && !PathMatch(target_url.path(), path_)) |
return SDCH_DICTIONARY_FOUND_HAS_WRONG_PATH; |
- if (target_url.SchemeIsSecure() != url_.SchemeIsSecure()) |
+ if (target_url.SchemeIsCryptographic() != url_.SchemeIsCryptographic()) |
return SDCH_DICTIONARY_FOUND_HAS_WRONG_SCHEME; |
// TODO(jar): Remove overly restrictive failsafe test (added per security |