[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.15.1-1414-gc69ee75
eric at webkit.org
eric at webkit.org
Thu Oct 29 20:40:02 UTC 2009
The following commit has been merged in the webkit-1.1 branch:
commit 77de5a45e24f130ef056a64c817e3dea5b6a45a8
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Oct 6 11:57:17 2009 +0000
2009-10-06 Alejandro G. Castro <alex at igalia.com>
Reviewed by Xan Lopez.
ASSERT executing the webhistory unittest in a debug build
https://bugs.webkit.org/show_bug.cgi?id=28947
We have to call g_object_new first to initialize webkit threading
before creating the KURL.
* WebKit/gtk/webkit/webkitwebhistoryitem.cpp:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49172 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/gtk/ChangeLog b/WebKit/gtk/ChangeLog
index f6210ed..d33f4de 100644
--- a/WebKit/gtk/ChangeLog
+++ b/WebKit/gtk/ChangeLog
@@ -1,3 +1,15 @@
+2009-10-06 Alejandro G. Castro <alex at igalia.com>
+
+ Reviewed by Xan Lopez.
+
+ ASSERT executing the webhistory unittest in a debug build
+ https://bugs.webkit.org/show_bug.cgi?id=28947
+
+ We have to call g_object_new first to initialize webkit threading
+ before creating the KURL.
+
+ * WebKit/gtk/webkit/webkitwebhistoryitem.cpp:
+
2009-10-06 José Millán Soto <fid at gpul.org>
Reviewed by Xan Lopez.
diff --git a/WebKit/gtk/webkit/webkitwebhistoryitem.cpp b/WebKit/gtk/webkit/webkitwebhistoryitem.cpp
index 0178c6b..aab8b51 100644
--- a/WebKit/gtk/webkit/webkitwebhistoryitem.cpp
+++ b/WebKit/gtk/webkit/webkitwebhistoryitem.cpp
@@ -297,12 +297,11 @@ WebKitWebHistoryItem* webkit_web_history_item_new()
*/
WebKitWebHistoryItem* webkit_web_history_item_new_with_data(const gchar* uri, const gchar* title)
{
- WebCore::KURL historyUri(WebCore::KURL(), uri);
- WebCore::String historyTitle = WebCore::String::fromUTF8(title);
-
WebKitWebHistoryItem* webHistoryItem = WEBKIT_WEB_HISTORY_ITEM(g_object_new(WEBKIT_TYPE_WEB_HISTORY_ITEM, NULL));
WebKitWebHistoryItemPrivate* priv = webHistoryItem->priv;
+ WebCore::KURL historyUri(WebCore::KURL(), uri);
+ WebCore::String historyTitle = WebCore::String::fromUTF8(title);
RefPtr<WebCore::HistoryItem> item = WebCore::HistoryItem::create(historyUri, historyTitle, 0);
priv->historyItem = item.release().releaseRef();
webkit_history_item_add(webHistoryItem, priv->historyItem);
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list