Chromium Code Reviews| Index: chrome/browser/geolocation/win7_location_api_unittest_win.cc |
| diff --git a/chrome/browser/geolocation/win7_location_api_unittest_win.cc b/chrome/browser/geolocation/win7_location_api_unittest_win.cc |
| index a22b99b58203593ffaeddaddf99fed106f45e660..04fb5fae8f4110f1aecb9b2f31fd218b720442aa 100644 |
| --- a/chrome/browser/geolocation/win7_location_api_unittest_win.cc |
| +++ b/chrome/browser/geolocation/win7_location_api_unittest_win.cc |
| @@ -293,9 +293,7 @@ class GeolocationApiWin7Tests : public testing::Test { |
| Win7LocationApi* CreateMock() { |
| MockLocation* locator = new MockLocation(); |
| locator_ = locator; |
| - return new Win7LocationApi(NULL, |
| - &MockPropVariantToDoubleFunction, |
| - locator); |
| + return Win7LocationApi::CreateForTesting(&MockPropVariantToDoubleFunction, locator); |
|
bulach
2011/01/12 11:24:13
>80cols
|
| } |
| scoped_ptr<Win7LocationApi> api_; |