| Index: chrome/browser/automation/automation_util.cc
|
| diff --git a/chrome/browser/automation/automation_util.cc b/chrome/browser/automation/automation_util.cc
|
| index fa6a7b9754aafc3ba4c9f53e18aaf0e4f2b92f67..38499a8ec35ff93eb8d6ae3419742fb6f5707fe7 100644
|
| --- a/chrome/browser/automation/automation_util.cc
|
| +++ b/chrome/browser/automation/automation_util.cc
|
| @@ -136,7 +136,7 @@ TabContents* GetTabContentsAt(int browser_index, int tab_index) {
|
| net::URLRequestContextGetter* GetRequestContext(TabContents* contents) {
|
| // Since we may be on the UI thread don't call GetURLRequestContext().
|
| // Get the request context specific to the current TabContents and app.
|
| - return contents->profile()->GetRequestContextForRenderProcess(
|
| + return contents->browser_context()->GetRequestContextForRenderProcess(
|
| contents->render_view_host()->process()->id());
|
| }
|
|
|
|
|