diff options
Diffstat (limited to 'chrome/tools/profiles')
-rw-r--r-- | chrome/tools/profiles/generate_profile.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/tools/profiles/generate_profile.cc b/chrome/tools/profiles/generate_profile.cc index 51c0f9c..a19d2fc 100644 --- a/chrome/tools/profiles/generate_profile.cc +++ b/chrome/tools/profiles/generate_profile.cc @@ -24,8 +24,8 @@ #include "chrome/common/thumbnail_score.h" #include "chrome/test/base/testing_profile.h" #include "content/browser/browser_thread_impl.h" -#include "content/browser/notification_service_impl.h" #include "content/public/browser/browser_thread.h" +#include "content/public/browser/notification_service.h" #include "third_party/skia/include/core/SkBitmap.h" #include "ui/base/resource/resource_bundle.h" #include "ui/base/ui_base_paths.h" @@ -235,7 +235,8 @@ int main(int argc, const char* argv[]) { chrome::RegisterPathProvider(); ui::RegisterPathProvider(); ResourceBundle::InitSharedInstance("en-US"); - NotificationServiceImpl notification_service; + scoped_ptr<content::NotificationService> notification_service( + content::NotificationService::Create()); MessageLoopForUI message_loop; content::BrowserThreadImpl ui_thread(BrowserThread::UI, &message_loop); content::BrowserThreadImpl db_thread(BrowserThread::DB, &message_loop); |