Index: chrome/browser/device_orientation/provider_impl.cc |
diff --git a/chrome/browser/device_orientation/provider_impl.cc b/chrome/browser/device_orientation/provider_impl.cc |
index 5ebfdb61116663bedb1988bc12fcbfb0792cf911..dfe994a09f02ece26912fb925d0982a6c78c58a8 100644 |
--- a/chrome/browser/device_orientation/provider_impl.cc |
+++ b/chrome/browser/device_orientation/provider_impl.cc |
@@ -189,12 +189,10 @@ int ProviderImpl::SamplingIntervalMs() const { |
DCHECK(MessageLoop::current() == polling_thread_->message_loop()); |
DCHECK(data_fetcher_.get()); |
- int fetcher_interval = data_fetcher_->MinSamplingIntervalMs(); |
- |
- if (fetcher_interval > kDesiredSamplingIntervalMs) |
- return fetcher_interval; |
- else |
- return kDesiredSamplingIntervalMs; |
+ // TODO(erg): There used to be unused code here, that called a default |
+ // implementation on the DataFetcherInterface that was never defined. I'm |
+ // removing unused methods from headers. |
+ return kDesiredSamplingIntervalMs; |
Lei Zhang
2010/12/16 21:31:51
+hans, fyi
|
} |
} // namespace device_orientation |