Index: content/browser/geolocation/device_data_provider.h |
diff --git a/content/browser/geolocation/device_data_provider.h b/content/browser/geolocation/device_data_provider.h |
index 431d7066c5cbcef84a9eefdbcd271fd967453b5f..c35e2562f089bbb52b6530fb321e469859b6d41e 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); |
} |