| Index: content/browser/geolocation/libgps_wrapper_linux.cc
|
| diff --git a/content/browser/geolocation/libgps_wrapper_linux.cc b/content/browser/geolocation/libgps_wrapper_linux.cc
|
| index f140335caac4dfe9d46751befcf272ba0f46752a..5d108a38a08209d8b33a856c24a92d418dee4c7a 100644
|
| --- a/content/browser/geolocation/libgps_wrapper_linux.cc
|
| +++ b/content/browser/geolocation/libgps_wrapper_linux.cc
|
| @@ -81,14 +81,14 @@ bool LibGps::Start() {
|
| // See gps.h NL_NOxxx for definition of gps_open() error numbers.
|
| DLOG(WARNING) << "gps_open() failed " << errno;
|
| return false;
|
| + } else {
|
| + is_open_ = true;
|
| + return true;
|
| }
|
| #else // drop the support for desktop linux for now
|
| DLOG(WARNING) << "LibGps is only supported on ChromeOS";
|
| return false;
|
| #endif
|
| -
|
| - is_open_ = true;
|
| - return true;
|
| }
|
| void LibGps::Stop() {
|
| if (is_open_)
|
|
|