Index: chrome/browser/extensions/extension_function_test_utils.cc |
diff --git a/chrome/browser/extensions/extension_function_test_utils.cc b/chrome/browser/extensions/extension_function_test_utils.cc |
index df91ad036c3ea1c9aa68c9e3b5cc0054631ae55d..5907467149e775fe3d012ec04f06d2894c0798dc 100644 |
--- a/chrome/browser/extensions/extension_function_test_utils.cc |
+++ b/chrome/browser/extensions/extension_function_test_utils.cc |
@@ -255,7 +255,7 @@ bool RunFunction(UIThreadExtensionFunction* function, |
browser->profile(), &dispatcher_delegate); |
function->set_dispatcher(dispatcher.AsWeakPtr()); |
- function->set_context(browser->profile()); |
+ function->set_browser_context(browser->profile()); |
function->set_include_incognito(flags & INCLUDE_INCOGNITO); |
function->Run(); |