Index: content/browser/geolocation/geolocation_service_impl.cc |
diff --git a/content/browser/geolocation/geolocation_service_impl.cc b/content/browser/geolocation/geolocation_service_impl.cc |
index 6c3a5c8b6b7d4481d4ab1295d49e8c1cd65c6c17..aae95ac01b6bf465564048bee3e7b197d2cc70b8 100644 |
--- a/content/browser/geolocation/geolocation_service_impl.cc |
+++ b/content/browser/geolocation/geolocation_service_impl.cc |
@@ -68,7 +68,9 @@ GeolocationServiceImpl::GeolocationServiceImpl( |
high_accuracy_(false), |
has_position_to_report_(false) { |
DCHECK(context_); |
- binding_.set_error_handler(this); |
+ binding_.set_connection_error_handler( |
+ base::Bind(&GeolocationServiceImpl::OnConnectionError, |
+ base::Unretained(this))); |
} |
GeolocationServiceImpl::~GeolocationServiceImpl() { |