Index: chrome/browser/extensions/content_script_apitest.cc |
=================================================================== |
--- chrome/browser/extensions/content_script_apitest.cc (revision 176052) |
+++ chrome/browser/extensions/content_script_apitest.cc (working copy) |
@@ -163,8 +163,8 @@ |
} |
IN_PROC_BROWSER_TEST_F(ExtensionApiTest, ContentScriptPermissionsApi) { |
- PermissionsRequestFunction::SetIgnoreUserGestureForTests(true); |
- PermissionsRequestFunction::SetAutoConfirmForTests(true); |
+ RequestPermissionsFunction::SetIgnoreUserGestureForTests(true); |
+ RequestPermissionsFunction::SetAutoConfirmForTests(true); |
host_resolver()->AddRule("*.com", "127.0.0.1"); |
ASSERT_TRUE(StartTestServer()); |
ASSERT_TRUE(RunExtensionTest("content_scripts/permissions")) << message_; |