summaryrefslogtreecommitdiffstats
path: root/content/browser/device_orientation/provider_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/device_orientation/provider_impl.cc')
-rw-r--r--content/browser/device_orientation/provider_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/device_orientation/provider_impl.cc b/content/browser/device_orientation/provider_impl.cc
index 78ae52d..4b88764 100644
--- a/content/browser/device_orientation/provider_impl.cc
+++ b/content/browser/device_orientation/provider_impl.cc
@@ -173,7 +173,7 @@ base::TimeDelta ProviderImpl::PollingThread::SamplingInterval() const {
ProviderImpl::ProviderImpl(DataFetcherFactory factory)
: creator_loop_(MessageLoop::current()),
factory_(factory),
- ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)),
+ weak_factory_(this),
polling_thread_(NULL) {
}