| Index: content/browser/device_orientation/provider_unittest.cc
|
| diff --git a/content/browser/device_orientation/provider_unittest.cc b/content/browser/device_orientation/provider_unittest.cc
|
| index 1cb74c78485e517ebb5462600329a373337e8aa3..0ef028e70cdc0c810a972454cd46ac25cc3fe6ab 100644
|
| --- a/content/browser/device_orientation/provider_unittest.cc
|
| +++ b/content/browser/device_orientation/provider_unittest.cc
|
| @@ -165,17 +165,10 @@ class DeviceOrientationProviderTest : public testing::Test {
|
| }
|
|
|
| // Initialize the test fixture with a ProviderImpl that uses the
|
| - // DataFetcherFactories in the null-terminated factories array.
|
| - void Init(ProviderImpl::DataFetcherFactory* factories) {
|
| - provider_ = new ProviderImpl(factories);
|
| - Provider::SetInstanceForTests(provider_);
|
| - }
|
| -
|
| - // Initialize the test fixture with a ProviderImpl that uses the
|
| // DataFetcherFactory factory.
|
| void Init(ProviderImpl::DataFetcherFactory factory) {
|
| - ProviderImpl::DataFetcherFactory factories[] = { factory, NULL };
|
| - Init(factories);
|
| + provider_ = new ProviderImpl(factory);
|
| + Provider::SetInstanceForTests(provider_);
|
| }
|
|
|
| protected:
|
|
|