summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/automation_provider.cc
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-13 21:43:44 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-13 21:43:44 +0000
commitdb7556cb7ed80a650a349d734a32c5f85a4bb89a (patch)
tree5940900ed87c2bb0e5626a4f26659936e4e1fbc2 /chrome/browser/automation/automation_provider.cc
parentaa61d7ed5555ccaa7a5987a4f3fc98bb4f35cf39 (diff)
downloadchromium_src-db7556cb7ed80a650a349d734a32c5f85a4bb89a.zip
chromium_src-db7556cb7ed80a650a349d734a32c5f85a4bb89a.tar.gz
chromium_src-db7556cb7ed80a650a349d734a32c5f85a4bb89a.tar.bz2
Revert "Renames the NavigationEntry::display_url() to virtual_url()."
This reverts commit r23357. Review URL: http://codereview.chromium.org/164517 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23367 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_provider.cc')
-rw-r--r--chrome/browser/automation/automation_provider.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc
index 677b96e..5016311 100644
--- a/chrome/browser/automation/automation_provider.cc
+++ b/chrome/browser/automation/automation_provider.cc
@@ -1930,7 +1930,7 @@ void AutomationProvider::GetTabURL(int handle, bool* success, GURL* url) {
if (tab_tracker_->ContainsHandle(handle)) {
NavigationController* tab = tab_tracker_->GetResource(handle);
// Return what the user would see in the location bar.
- *url = tab->GetActiveEntry()->virtual_url();
+ *url = tab->GetActiveEntry()->display_url();
*success = true;
}
}