Index: chrome/browser/ui/webui/policy_ui_browsertest.cc |
diff --git a/chrome/browser/ui/webui/policy_ui_browsertest.cc b/chrome/browser/ui/webui/policy_ui_browsertest.cc |
index b7ae8a166d84317a718e80f13e59083c0c474126..1429c4bd220cb64f29e4d8aee90fd288876254d1 100644 |
--- a/chrome/browser/ui/webui/policy_ui_browsertest.cc |
+++ b/chrome/browser/ui/webui/policy_ui_browsertest.cc |
@@ -128,7 +128,7 @@ void PolicyUITest::UpdateProviderPolicy(const policy::PolicyMap& policy) { |
void PolicyUITest::VerifyPolicies( |
const std::vector<std::vector<std::string> >& expected_policies) { |
- ui_test_utils::NavigateToURL(browser(), GURL("chrome://policy")); |
+ ui_test_utils::NavigateToURL(browser(), GURL(chrome::kChromeUIPolicyURL)); |
// Retrieve the text contents of the policy table cells for all policies. |
const std::string javascript = |
@@ -288,7 +288,7 @@ IN_PROC_BROWSER_TEST_F(PolicyUITest, SendPolicyValues) { |
} |
IN_PROC_BROWSER_TEST_F(PolicyUITest, ExtensionLoadAndSendPolicy) { |
- ui_test_utils::NavigateToURL(browser(), GURL(chrome::kChromeUIPolicyURL)); |
+ ui_test_utils::NavigateToURL(browser(), GURL("chrome://policy")); |
base::ScopedTempDir temp_dir_; |
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); |