summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangpyo Kim <sangpyo7.kim@samsung.com>2012-09-10 11:22:18 +0900
committerSangpyo Kim <sangpyo7.kim@samsung.com>2012-09-10 11:23:34 +0900
commit72bc4ab73711ba7372fe06ee942b485a4d2c51f6 (patch)
tree879c219fdea36ec1c7dee424fa6c7a6078e46321
parentb417bfcab8ddc019179bb2139a82b1168e71ec10 (diff)
downloadbrowser-72bc4ab73711ba7372fe06ee942b485a4d2c51f6.tar.gz
browser-72bc4ab73711ba7372fe06ee942b485a4d2c51f6.tar.bz2
browser-72bc4ab73711ba7372fe06ee942b485a4d2c51f6.zip
[Title] set passed origin data even though there is a duplicated website setting in the list.
[Issue#] N_SE-9744 [Problem] crash occured [Cause] wrong pointer is passed [Solution] set passed origin data even though there is a duplicated website setting in the list. [Team] Browser UI [Developer] sangpyo7.kim [Request] N/A Change-Id: Iaf5d7214bd5cce1bf396da4eb441c009f7d35100
-rwxr-xr-xsrc/browser-settings/browser-settings-website-setting.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/browser-settings/browser-settings-website-setting.cpp b/src/browser-settings/browser-settings-website-setting.cpp
index 69bc2732..dd419de9 100755
--- a/src/browser-settings/browser-settings-website-setting.cpp
+++ b/src/browser-settings/browser-settings-website-setting.cpp
@@ -739,6 +739,7 @@ void Browser_Settings_Website_Setting::__application_cache_origin_get_cb(Eina_Li
&& !strcmp(website_setting->m_website_setting_list[i]->url.c_str(), ewk_security_origin_host_get(origin))) {
duplicated = EINA_TRUE;
website_setting->m_website_setting_list[i]->storage = EINA_TRUE;
+ website_setting->m_website_setting_list[i]->origin = origin;
elm_genlist_item_update((Elm_Object_Item *)(website_setting->m_website_setting_list[i]->user_data));
break;
@@ -798,6 +799,7 @@ void Browser_Settings_Website_Setting::__web_storage_origin_get_cb(Eina_List* or
&& !strcmp(website_setting->m_website_setting_list[i]->url.c_str(), ewk_security_origin_host_get(origin))) {
duplicated = EINA_TRUE;
website_setting->m_website_setting_list[i]->storage = EINA_TRUE;
+ website_setting->m_website_setting_list[i]->origin = origin;
elm_genlist_item_update((Elm_Object_Item *)(website_setting->m_website_setting_list[i]->user_data));
break;
@@ -857,6 +859,7 @@ void Browser_Settings_Website_Setting::__web_database_origin_get_cb(Eina_List* o
&& !strcmp(website_setting->m_website_setting_list[i]->url.c_str(), ewk_security_origin_host_get(origin))) {
duplicated = EINA_TRUE;
website_setting->m_website_setting_list[i]->storage = EINA_TRUE;
+ website_setting->m_website_setting_list[i]->origin = origin;
elm_genlist_item_update((Elm_Object_Item *)(website_setting->m_website_setting_list[i]->user_data));
break;