summaryrefslogtreecommitdiffstats
path: root/chrome/browser/geolocation
diff options
context:
space:
mode:
authorrogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-10 05:48:33 +0000
committerrogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-10 05:48:33 +0000
commit79046fd7bd8a97155e4082372ae90b13bb795358 (patch)
tree2f835c438f6a2929c98b4260b514a2e8ceaf4909 /chrome/browser/geolocation
parent40ea8b4eef2f16e43a7ca9bdd3eba2c313d9dbca (diff)
downloadchromium_src-79046fd7bd8a97155e4082372ae90b13bb795358.zip
chromium_src-79046fd7bd8a97155e4082372ae90b13bb795358.tar.gz
chromium_src-79046fd7bd8a97155e4082372ae90b13bb795358.tar.bz2
Remove redundant LoadURLWithHeaders method.
BUG=None TEST=No user visible or functional change. Review URL: http://codereview.chromium.org/7847023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100573 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/geolocation')
-rw-r--r--chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc b/chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc
index 22836ed..bb89457 100644
--- a/chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc
+++ b/chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc
@@ -174,7 +174,8 @@ void GeolocationPermissionContextTests::CheckPermissionMessageSentInternal(
void GeolocationPermissionContextTests::AddNewTab(const GURL& url) {
TabContents* new_tab =
new TabContents(profile(), NULL, MSG_ROUTING_NONE, NULL, NULL);
- new_tab->controller().LoadURL(url, GURL(), PageTransition::TYPED);
+ new_tab->controller().LoadURL(url, GURL(), PageTransition::TYPED,
+ std::string());
static_cast<TestRenderViewHost*>(new_tab->render_manager()->current_host())->
SendNavigate(extra_tabs_.size() + 1, url);
extra_tabs_.push_back(new TabContentsWrapper(new_tab));