| 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 fa79aa8bfdf6c33cc9a9ba8158cfcfe8b95068d4..111844d8622d6903bdcd9945af6e274faffa5214 100644
|
| --- a/chrome/browser/geolocation/geolocation_permission_context_unittest.cc
|
| +++ b/chrome/browser/geolocation/geolocation_permission_context_unittest.cc
|
| @@ -220,8 +220,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())
|
|
|