Index: components/autofill/core/browser/webdata/web_data_service_unittest.cc |
diff --git a/components/autofill/core/browser/webdata/web_data_service_unittest.cc b/components/autofill/core/browser/webdata/web_data_service_unittest.cc |
index e56d3f852601f844e4473f894e28c1b322cd2c19..487e265239862a69cee60d972c38a36248b033b2 100644 |
--- a/components/autofill/core/browser/webdata/web_data_service_unittest.cc |
+++ b/components/autofill/core/browser/webdata/web_data_service_unittest.cc |
@@ -72,12 +72,12 @@ class AutofillWebDataServiceConsumer: public WebDataServiceConsumer { |
DISALLOW_COPY_AND_ASSIGN(AutofillWebDataServiceConsumer); |
}; |
+const int kWebDataServiceTimeoutSeconds = 8; |
+ |
} // namespace |
namespace autofill { |
-static const int kWebDataServiceTimeoutSeconds = 8; |
- |
ACTION_P(SignalEvent, event) { |
event->Signal(); |
} |
@@ -104,7 +104,7 @@ class WebDataServiceTest : public testing::Test { |
wdbs_ = new WebDatabaseService(path, base::ThreadTaskRunnerHandle::Get(), |
db_thread_.task_runner()); |
- wdbs_->AddTable(scoped_ptr<WebDatabaseTable>(new AutofillTable("en-US"))); |
+ wdbs_->AddTable(make_scoped_ptr(new AutofillTable)); |
wdbs_->LoadDatabase(); |
wds_ = new AutofillWebDataService( |