summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/automation_util.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-20 22:32:52 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-20 22:32:52 +0000
commit151a63d06532f2cdd24c6bb37a072abd6d0184a1 (patch)
tree401eaa79525b60985ec4c5e16169cc3e2a1186e8 /chrome/browser/automation/automation_util.cc
parent82eb8ec62c0ad5494a51e3b45c7a15dcd7e4a1e4 (diff)
downloadchromium_src-151a63d06532f2cdd24c6bb37a072abd6d0184a1.zip
chromium_src-151a63d06532f2cdd24c6bb37a072abd6d0184a1.tar.gz
chromium_src-151a63d06532f2cdd24c6bb37a072abd6d0184a1.tar.bz2
Rename TabContents::render_view_host() to GetRenderViewHost and put it into the WebContents interface.
BUG=98716 Review URL: http://codereview.chromium.org/9007026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115200 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_util.cc')
-rw-r--r--chrome/browser/automation/automation_util.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/automation/automation_util.cc b/chrome/browser/automation/automation_util.cc
index a092763..1f1b64d 100644
--- a/chrome/browser/automation/automation_util.cc
+++ b/chrome/browser/automation/automation_util.cc
@@ -161,7 +161,7 @@ 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->browser_context()->GetRequestContextForRenderProcess(
- contents->render_view_host()->process()->GetID());
+ contents->GetRenderProcessHost()->GetID());
}
void GetCookies(const GURL& url,
@@ -488,7 +488,7 @@ bool GetRenderViewForId(
TabContents* tab;
if (!GetTabForId(id, &tab))
return false;
- *rvh = tab->render_view_host();
+ *rvh = tab->GetRenderViewHost();
break;
}
case AutomationId::kTypeExtensionPopup: