summaryrefslogtreecommitdiff
path: root/Source/WebKit2/UIProcess/API/efl/ewk_intent.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2012-07-18 13:59:13 +0200
committerSimon Hausmann <simon.hausmann@nokia.com>2012-07-18 13:59:28 +0200
commit4d6084feccab99c0a7b3ecef26bb49c41dd50201 (patch)
treefd1195897f551eee6d5a15d07ff5733b15aa2a5c /Source/WebKit2/UIProcess/API/efl/ewk_intent.cpp
parentae901828d4689ab9e89113f6b6ea8042b37a9fda (diff)
downloadqtwebkit-4d6084feccab99c0a7b3ecef26bb49c41dd50201.tar.gz
Imported WebKit commit ff52235a78888e5cb8e286a828a8698042200e67 (http://svn.webkit.org/repository/webkit/trunk@122948)
New snapshot that should fix the rendering issues recently introduced
Diffstat (limited to 'Source/WebKit2/UIProcess/API/efl/ewk_intent.cpp')
-rw-r--r--Source/WebKit2/UIProcess/API/efl/ewk_intent.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/Source/WebKit2/UIProcess/API/efl/ewk_intent.cpp b/Source/WebKit2/UIProcess/API/efl/ewk_intent.cpp
index ba923ee0b..7322108be 100644
--- a/Source/WebKit2/UIProcess/API/efl/ewk_intent.cpp
+++ b/Source/WebKit2/UIProcess/API/efl/ewk_intent.cpp
@@ -59,7 +59,14 @@ struct _Ewk_Intent {
, action(0)
, type(0)
, service(0)
+ { }
+
+ ~_Ewk_Intent()
{
+ ASSERT(!__ref);
+ eina_stringshare_del(action);
+ eina_stringshare_del(type);
+ eina_stringshare_del(service);
}
};
@@ -90,9 +97,6 @@ void ewk_intent_unref(Ewk_Intent* intent)
if (--intent->__ref)
return;
- eina_stringshare_del(intent->action);
- eina_stringshare_del(intent->type);
- eina_stringshare_del(intent->service);
delete intent;
#endif
}