| 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 57fbbfe0cdb095ee5b254b71b5512b05428ca281..a705ed66fd1408661a16d4b7b096191ec1c2663e 100644
|
| --- a/content/browser/device_orientation/provider_unittest.cc
|
| +++ b/content/browser/device_orientation/provider_unittest.cc
|
| @@ -248,8 +248,13 @@ TEST_F(DeviceOrientationProviderTest, MultipleObserversPushTest) {
|
| provider_->RemoveObserver(checker_c.get());
|
| }
|
|
|
| -// Flaky. See crbug.com/104950.
|
| -TEST_F(DeviceOrientationProviderTest, FLAKY_ObserverNotRemoved) {
|
| +#if defined(OS_LINUX)
|
| +// Flakily DCHECKs on Linux. See crbug.com/104950.
|
| +#define MAYBE_ObserverNotRemoved DISABLED_ObserverNotRemoved
|
| +#else
|
| +#define MAYBE_ObserverNotRemoved ObserverNotRemoved
|
| +#endif
|
| +TEST_F(DeviceOrientationProviderTest, MAYBE_ObserverNotRemoved) {
|
| scoped_refptr<MockOrientationFactory> orientation_factory(
|
| new MockOrientationFactory());
|
| Init(MockOrientationFactory::CreateDataFetcher);
|
|
|