Fix popup error due to uninitialized members
authoryons.kim <yons.kim@samsung.com>
Thu, 24 Sep 2015 06:49:52 +0000 (15:49 +0900)
committeryons.kim <yons.kim@samsung.com>
Thu, 24 Sep 2015 06:49:52 +0000 (15:49 +0900)
commit236d10314a2456b78899a04e9c9b305965320913
tree4bd21051dab0ce2ca08c172649207ac73f302ed3
parentf139945118c601efdfdf40c04eb17fe5a61efc18
Fix popup error due to uninitialized members

Add code to initialize member variables in Popup's constructor and
to check whether the value from elm_entry_entry_get() is null or not

When cert popups are opened in succession, elm_entry_entry_get() returns
null occationally. So it needs null check.

Until now, Popup's boolean member variables have not initialized. So
Popup::Result() enters code about entry although Popup doesn't use entry.
It needs to initialize member variables with proper values.
runtime/browser/popup.cc