Index: chrome/browser/extensions/content_script_apitest.cc |
diff --git a/chrome/browser/extensions/content_script_apitest.cc b/chrome/browser/extensions/content_script_apitest.cc |
index b675403c6649a2388de782df084dab05fe71b09e..d1a71f3171a5fe36edfb7f041143c53991ada55d 100644 |
--- a/chrome/browser/extensions/content_script_apitest.cc |
+++ b/chrome/browser/extensions/content_script_apitest.cc |
@@ -163,8 +163,8 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, ContentScriptExtensionAPIs) { |
} |
IN_PROC_BROWSER_TEST_F(ExtensionApiTest, ContentScriptPermissionsApi) { |
- RequestPermissionsFunction::SetIgnoreUserGestureForTests(true); |
- RequestPermissionsFunction::SetAutoConfirmForTests(true); |
+ PermissionsRequestFunction::SetIgnoreUserGestureForTests(true); |
+ PermissionsRequestFunction::SetAutoConfirmForTests(true); |
host_resolver()->AddRule("*.com", "127.0.0.1"); |
ASSERT_TRUE(StartTestServer()); |
ASSERT_TRUE(RunExtensionTest("content_scripts/permissions")) << message_; |