| Index: content/browser/device_orientation/provider_impl.cc
|
| diff --git a/content/browser/device_orientation/provider_impl.cc b/content/browser/device_orientation/provider_impl.cc
|
| index c4905147061a9c1f2c5455ebda66c21bdee1ccd9..71e158782cd51f47e74cac6a8e19bdab5ce22c1a 100644
|
| --- a/content/browser/device_orientation/provider_impl.cc
|
| +++ b/content/browser/device_orientation/provider_impl.cc
|
| @@ -91,7 +91,7 @@ void ProviderImpl::PollingThread::Initialize(DataFetcherFactory factory,
|
| // start polling.
|
| scoped_ptr<DataFetcher> fetcher(factory());
|
|
|
| - if (fetcher.get()) {
|
| + if (fetcher) {
|
| scoped_refptr<const DeviceData> device_data(fetcher->GetDeviceData(type));
|
| if (device_data != NULL) {
|
| // Pass ownership of fetcher to provider_.
|
|
|