summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-04 08:15:01 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-04 08:15:01 +0000
commita4908b3f8384df4b6cbe0dc993efbd605395de9d (patch)
treedbc7dad78e47a1a8df2372680a34af79352cdac5 /chrome/browser/automation
parent57c6a6579cf274fe37d6196931a3034d90da7113 (diff)
downloadchromium_src-a4908b3f8384df4b6cbe0dc993efbd605395de9d.zip
chromium_src-a4908b3f8384df4b6cbe0dc993efbd605395de9d.tar.gz
chromium_src-a4908b3f8384df4b6cbe0dc993efbd605395de9d.tar.bz2
Fix the mac build from my WebContents rename.
Review URL: http://codereview.chromium.org/100329 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15195 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation')
-rw-r--r--chrome/browser/automation/automation_provider.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc
index 79e384e..67dc491 100644
--- a/chrome/browser/automation/automation_provider.cc
+++ b/chrome/browser/automation/automation_provider.cc
@@ -2618,7 +2618,6 @@ TabContents* AutomationProvider::GetTabContentsForHandle(
int handle, NavigationController** tab) {
if (tab_tracker_->ContainsHandle(handle)) {
NavigationController* nav_controller = tab_tracker_->GetResource(handle);
- TabContents* tab_contents = nav_controller->tab_contents();
if (tab)
*tab = nav_controller;
return nav_controller->tab_contents();