Index: remoting/host/third_party_auth_config.cc |
diff --git a/remoting/host/third_party_auth_config.cc b/remoting/host/third_party_auth_config.cc |
index 5ed63a86131a3f636d6719a2708adb79ed4c140d..264bcb3d680766ea63c6b845d7deef911743a857 100644 |
--- a/remoting/host/third_party_auth_config.cc |
+++ b/remoting/host/third_party_auth_config.cc |
@@ -25,7 +25,7 @@ bool ParseUrlPolicy(const std::string& str, GURL* out) { |
} |
// We validate https-vs-http only on Release builds to help with manual testing. |
#if defined(NDEBUG) |
- if (!gurl.SchemeIsSecure()) { |
+ if (!gurl.SchemeIsCryptographic()) { |
LOG(ERROR) << "Not a secure URL: " << str; |
return false; |
} |