| Index: chrome/browser/geolocation/geolocation_permission_context_unittest.cc
|
| diff --git a/chrome/browser/geolocation/geolocation_permission_context_unittest.cc b/chrome/browser/geolocation/geolocation_permission_context_unittest.cc
|
| index 52eb422535a06b6af50b93c8bf4975595b87aa71..04245b89d6942bc13c27148a20ef2e7e67e487f0 100644
|
| --- a/chrome/browser/geolocation/geolocation_permission_context_unittest.cc
|
| +++ b/chrome/browser/geolocation/geolocation_permission_context_unittest.cc
|
| @@ -205,8 +205,7 @@ void GeolocationPermissionContextTests::CheckPermissionMessageSentInternal(
|
| }
|
|
|
| void GeolocationPermissionContextTests::AddNewTab(const GURL& url) {
|
| - content::WebContents* new_tab = content::WebContents::Create(
|
| - content::WebContents::CreateParams(profile()));
|
| + content::WebContents* new_tab = CreateTestWebContents();
|
| new_tab->GetController().LoadURL(
|
| url, content::Referrer(), ui::PAGE_TRANSITION_TYPED, std::string());
|
| content::RenderFrameHostTester::For(new_tab->GetMainFrame())
|
|
|