| Index: chrome/browser/history/web_history_service_unittest.cc
|
| diff --git a/chrome/browser/history/web_history_service_unittest.cc b/chrome/browser/history/web_history_service_unittest.cc
|
| index 6bbb54a5f74b247482712368e8906859897d897d..3d20a897c37bdf8e7749baa588dfa3abd5676889 100644
|
| --- a/chrome/browser/history/web_history_service_unittest.cc
|
| +++ b/chrome/browser/history/web_history_service_unittest.cc
|
| @@ -195,12 +195,13 @@ std::string TestingWebHistoryService::GetExpectedAudioHistoryValue() {
|
| return "false";
|
| }
|
|
|
| -static KeyedService* BuildWebHistoryService(content::BrowserContext* context) {
|
| +static scoped_ptr<KeyedService> BuildWebHistoryService(
|
| + content::BrowserContext* context) {
|
| Profile* profile = static_cast<Profile*>(context);
|
| - return new TestingWebHistoryService(
|
| + return make_scoped_ptr(new TestingWebHistoryService(
|
| ProfileOAuth2TokenServiceFactory::GetForProfile(profile),
|
| SigninManagerFactory::GetForProfile(profile),
|
| - profile->GetRequestContext());
|
| + profile->GetRequestContext()));
|
| }
|
|
|
| } // namespace
|
|
|