[WK2] Fix location bug and crash issue for GoogleMap
authorSeonae Kim <sunaeluv.kim@samsung.com>
Wed, 22 Aug 2012 06:11:36 +0000 (15:11 +0900)
committerSeonae Kim <sunaeluv.kim@samsung.com>
Fri, 24 Aug 2012 03:55:06 +0000 (12:55 +0900)
commitd1bc6d491ef3e139eeecaca14d551b55acf1ff3b
tree3ae1fe0d9fca71f412a209a7c5825c7c72809420
parent0d182c24eed92286a4fecb0a3fd74e76205a8ab1
[WK2] Fix location bug and crash issue for GoogleMap

[Title] Fix location bug and crash issue for GoogleMap
[Issue#] WEB-1617, WEB-1621
[Problem] 1. getCurrentPosition API returns 0,0
          2. Browser crashed while reloading web page
[Cause] 1. The result value of PositionChangedCallback is zero
        2. EwkGeolocation is not checked
[Solution] Add conditional statement to confirm the callback parameter

Change-Id: If48462c6a92f3e9e8ed06dfdf0b7a7c016443873
Source/WebKit2/UIProcess/API/efl/ewk_geolocation.cpp