| Index: chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc
|
| diff --git a/chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc b/chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc
|
| index 3f3e27b5f1a6ad77265bdf8e687c01cb1a421121..04f4cff3fced2e24462a3d7ec548ce83e7d7acb6 100644
|
| --- a/chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc
|
| +++ b/chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc
|
| @@ -54,18 +54,20 @@ class HistoryMock : public HistoryService {
|
| virtual ~HistoryMock() {}
|
| };
|
|
|
| -ProfileKeyedService* BuildBookmarkModel(Profile* profile) {
|
| +ProfileKeyedService* BuildBookmarkModel(content::BrowserContext* context) {
|
| + Profile* profile = static_cast<Profile*>(context);
|
| BookmarkModel* bookmark_model = new BookmarkModel(profile);
|
| bookmark_model->Load(profile->GetIOTaskRunner());
|
| return bookmark_model;
|
| }
|
|
|
| -ProfileKeyedService* BuildBookmarkModelWithoutLoading(Profile* profile) {
|
| - return new BookmarkModel(profile);
|
| +ProfileKeyedService* BuildBookmarkModelWithoutLoading(
|
| + content::BrowserContext* profile) {
|
| + return new BookmarkModel(static_cast<Profile*>(profile));
|
| }
|
|
|
| -ProfileKeyedService* BuildHistoryService(Profile* profile) {
|
| - return new HistoryMock(profile);
|
| +ProfileKeyedService* BuildHistoryService(content::BrowserContext* profile) {
|
| + return new HistoryMock(static_cast<Profile*>(profile));
|
| }
|
|
|
| } // namespace
|
|
|