| Index: content/renderer/savable_resources.cc
|
| diff --git a/content/renderer/savable_resources.cc b/content/renderer/savable_resources.cc
|
| index d21da17910a71108760b697d68ba6324f79efe91..92c210c466e455c098d665db9fa42ec53981572f 100644
|
| --- a/content/renderer/savable_resources.cc
|
| +++ b/content/renderer/savable_resources.cc
|
| @@ -89,7 +89,7 @@ void GetSavableResourceLinkForElement(
|
| // Ignore those URLs which are not standard protocols. Because FTP
|
| // protocol does no have cache mechanism, we will skip all
|
| // sub-resources if they use FTP protocol.
|
| - if (!u.SchemeIs("http") && !u.SchemeIs("https") && !u.SchemeIs("file"))
|
| + if (!u.SchemeIsHttp() && !u.SchemeIs("file"))
|
| return;
|
| // Ignore duplicated resource link.
|
| if (!unique_check->resources_set->insert(u).second)
|
|
|