summaryrefslogtreecommitdiffstats
path: root/content/browser/geolocation/device_data_provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/geolocation/device_data_provider.h')
-rw-r--r--content/browser/geolocation/device_data_provider.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/geolocation/device_data_provider.h b/content/browser/geolocation/device_data_provider.h
index 431d706..c35e256 100644
--- a/content/browser/geolocation/device_data_provider.h
+++ b/content/browser/geolocation/device_data_provider.h
@@ -253,11 +253,11 @@ class DeviceDataProvider : public base::NonThreadSafe {
DeviceDataProvider() {
DCHECK(factory_function_);
impl_ = (*factory_function_)();
- DCHECK(impl_);
+ DCHECK(impl_.get());
impl_->SetContainer(this);
}
virtual ~DeviceDataProvider() {
- DCHECK(impl_);
+ DCHECK(impl_.get());
impl_->SetContainer(NULL);
}