| Index: components/webdata/common/web_database.cc
|
| diff --git a/components/webdata/common/web_database.cc b/components/webdata/common/web_database.cc
|
| index 05d1789d88f6501ea0acfba284700aeda6c3f895..baa765eafe3c1c576b08baa735bc2a247757716e 100644
|
| --- a/components/webdata/common/web_database.cc
|
| +++ b/components/webdata/common/web_database.cc
|
| @@ -7,7 +7,6 @@
|
| #include <algorithm>
|
|
|
| #include "base/stl_util.h"
|
| -#include "content/public/browser/notification_service.h"
|
| #include "sql/statement.h"
|
| #include "sql/transaction.h"
|
|
|
| @@ -70,11 +69,6 @@ sql::Connection* WebDatabase::GetSQLConnection() {
|
| }
|
|
|
| sql::InitStatus WebDatabase::Init(const base::FilePath& db_name) {
|
| - // When running in unit tests, there is already a NotificationService object.
|
| - // Since only one can exist at a time per thread, check first.
|
| - if (!content::NotificationService::current())
|
| - notification_service_.reset(content::NotificationService::Create());
|
| -
|
| db_.set_histogram_tag("Web");
|
|
|
| // We don't store that much data in the tables so use a small page size.
|
|
|