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 20:45:12 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-13 20:45:12 +0000
commit5873de6186d9997573cfad69131a84f1b69ddd45 (patch)
treeb9f0f4bafa42705edb9f79f27e023c8204db08a5 /chrome/browser/automation/automation_provider.cc
parentd42561d79bc3940320d2aef268a64f2a34e52733 (diff)
downloadchromium_src-5873de6186d9997573cfad69131a84f1b69ddd45.zip
chromium_src-5873de6186d9997573cfad69131a84f1b69ddd45.tar.gz
chromium_src-5873de6186d9997573cfad69131a84f1b69ddd45.tar.bz2
Renames the NavigationEntry::display_url() to virtual_url().
BUG=6970 (http://crbug.com/6970) TEST=None Patch by Thiago Farina <thiago.farina@gmail.com> at http://codereview.chromium.org/164383 Review URL: http://codereview.chromium.org/165485 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23357 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 5016311..677b96e 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()->display_url();
+ *url = tab->GetActiveEntry()->virtual_url();
*success = true;
}
}