Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Unified Diff: third_party/WebKit/Source/web/GeolocationClientProxy.cpp

Issue 1919153002: Tidy up WebGeolocationController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: still support implicit conversion Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/GeolocationClientProxy.cpp
diff --git a/third_party/WebKit/Source/web/GeolocationClientProxy.cpp b/third_party/WebKit/Source/web/GeolocationClientProxy.cpp
index 23a9d65a2fc3293f42d85c9955512b5747f2fa82..004cf4c5c4615eecbb8b85be0a01f6b68a41b561 100644
--- a/third_party/WebKit/Source/web/GeolocationClientProxy.cpp
+++ b/third_party/WebKit/Source/web/GeolocationClientProxy.cpp
@@ -74,7 +74,7 @@ GeolocationPosition* GeolocationClientProxy::lastPosition()
else
m_lastPosition.clear();
- return m_lastPosition.get();
+ return m_lastPosition;
}
void GeolocationClientProxy::requestPermission(Geolocation* geolocation)

Powered by Google App Engine
This is Rietveld 408576698