Index: components/autofill/content/browser/wallet/wallet_service_url_unittest.cc |
diff --git a/components/autofill/content/browser/wallet/wallet_service_url_unittest.cc b/components/autofill/content/browser/wallet/wallet_service_url_unittest.cc |
index de289e668e692ae0812be235c0f9ba3e070b5a5a..fa6237ba828b7fb055209043eee900838a9630e5 100644 |
--- a/components/autofill/content/browser/wallet/wallet_service_url_unittest.cc |
+++ b/components/autofill/content/browser/wallet/wallet_service_url_unittest.cc |
@@ -3,6 +3,7 @@ |
// found in the LICENSE file. |
#include "base/command_line.h" |
+#include "chrome/common/origin_util.h" |
#include "components/autofill/content/browser/wallet/wallet_service_url.h" |
#include "components/autofill/core/common/autofill_switches.h" |
#include "content/public/common/content_switches.h" |
@@ -115,7 +116,7 @@ TEST(WalletServiceUrl, IsUsingProd) { |
} |
TEST(WalletServiceUrl, IsSignInContinueUrl) { |
- EXPECT_TRUE(GetSignInContinueUrl().SchemeIsSecure()); |
+ EXPECT_TRUE(IsOriginSecure(GetSignInContinueUrl())); |
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
command_line->AppendSwitchASCII(switches::kWalletServiceUseSandbox, "1"); |