[Title] Initialize geolocation provider
[Issue#] N/A
[Problem]
[Cause]
[Solution] For avoiding reference garbage value, initialize member variables for geolocation provider
Change-Id: Ie1ed3f09026fd1fb2bad3b8f1617fa0360408640
#include "ewk_view_private.h"
Ewk_Geolocation_Provider::Ewk_Geolocation_Provider(WKContextRef contextRef)
- : m_wkContext(contextRef)
+ : m_locationManagerStarted(false)
+ , m_locationManager(0)
+ , m_wkContext(contextRef)
{
ASSERT(m_wkContext.get());
WKGeolocationManagerRef geolocationManagerRef = WKContextGetGeolocationManager(m_wkContext.get());