Index: Source/modules/geolocation/Geolocation.cpp |
diff --git a/Source/modules/geolocation/Geolocation.cpp b/Source/modules/geolocation/Geolocation.cpp |
index 330a66339ce4fbc5e2572d33f6eb743522116bcf..1e1061c0e59a23ff50de39a97e2bd47d5aec86d9 100644 |
--- a/Source/modules/geolocation/Geolocation.cpp |
+++ b/Source/modules/geolocation/Geolocation.cpp |
@@ -45,7 +45,7 @@ static const char framelessDocumentErrorMessage[] = "Geolocation cannot be used |
static PassRefPtrWillBeRawPtr<Geoposition> createGeoposition(GeolocationPosition* position) |
{ |
if (!position) |
- return 0; |
+ return nullptr; |
RefPtrWillBeRawPtr<Coordinates> coordinates = Coordinates::create( |
position->latitude(), |