summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/autotest_private/autotest_private_apitest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/api/autotest_private/autotest_private_apitest.cc')
-rw-r--r--chrome/browser/extensions/api/autotest_private/autotest_private_apitest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/api/autotest_private/autotest_private_apitest.cc b/chrome/browser/extensions/api/autotest_private/autotest_private_apitest.cc
index fbd5420..ba8f3ad 100644
--- a/chrome/browser/extensions/api/autotest_private/autotest_private_apitest.cc
+++ b/chrome/browser/extensions/api/autotest_private/autotest_private_apitest.cc
@@ -9,7 +9,7 @@
IN_PROC_BROWSER_TEST_F(ExtensionApiTest, AutotestPrivate) {
// Turn on testing mode so we don't kill the browser.
extensions::AutotestPrivateAPI::GetFactoryInstance()
- ->GetForProfile(browser()->profile())
+ ->Get(browser()->profile())
->set_test_mode(true);
ASSERT_TRUE(RunComponentExtensionTest("autotest_private")) << message_;
}