diff options
Diffstat (limited to 'content/browser/geolocation/mock_location_provider.cc')
-rw-r--r-- | content/browser/geolocation/mock_location_provider.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/geolocation/mock_location_provider.cc b/content/browser/geolocation/mock_location_provider.cc index e6dda31..4a89613 100644 --- a/content/browser/geolocation/mock_location_provider.cc +++ b/content/browser/geolocation/mock_location_provider.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -22,7 +22,7 @@ MockLocationProvider* MockLocationProvider::instance_ = NULL; MockLocationProvider::MockLocationProvider(MockLocationProvider** self_ref) : state_(STOPPED), self_ref_(self_ref), - provider_loop_(base::MessageLoopProxy::CreateForCurrentThread()) { + provider_loop_(base::MessageLoopProxy::current()) { CHECK(self_ref_); CHECK(*self_ref_ == NULL); *self_ref_ = this; |