Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/modules/geolocation/NavigatorGeolocation.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.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/modules/geolocation/NavigatorGeolocation.cpp
diff --git a/third_party/WebKit/Source/modules/geolocation/NavigatorGeolocation.cpp b/third_party/WebKit/Source/modules/geolocation/NavigatorGeolocation.cpp
index c8a706c6f2ce5dd04e5e5f0c6017feb70a2149bd..7efb985116ead77d4d7a85fb7948040f400deca3 100644
--- a/third_party/WebKit/Source/modules/geolocation/NavigatorGeolocation.cpp
+++ b/third_party/WebKit/Source/modules/geolocation/NavigatorGeolocation.cpp
@@ -58,7 +58,7 @@ Geolocation* NavigatorGeolocation::geolocation()
{
if (!m_geolocation && frame())
m_geolocation = Geolocation::create(frame()->document());
- return m_geolocation.get();
+ return m_geolocation;
}
DEFINE_TRACE(NavigatorGeolocation)

Powered by Google App Engine