Unreviewed. Fix GTK+ build after r162808.
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 27 Jan 2014 08:18:51 +0000 (08:18 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 27 Jan 2014 08:18:51 +0000 (08:18 +0000)
* webkit/webkitwebhistoryitem.cpp:
(webkit_web_history_item_new_with_data):
(webkit_web_history_item_get_last_visited_time):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162829 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/gtk/ChangeLog
Source/WebKit/gtk/webkit/webkitwebhistoryitem.cpp

index 17c3500..7819d8f 100644 (file)
@@ -1,3 +1,11 @@
+2014-01-27  Carlos Garcia Campos  <cgarcia@igalia.com>
+
+        Unreviewed. Fix GTK+ build after r162808.
+
+        * webkit/webkitwebhistoryitem.cpp:
+        (webkit_web_history_item_new_with_data):
+        (webkit_web_history_item_get_last_visited_time):
+
 2014-01-25  Anders Carlsson  <andersca@apple.com>
 
         Remove an unused FrameLoaderClient function
index 2f25092..5400f70 100644 (file)
@@ -300,7 +300,7 @@ WebKitWebHistoryItem* webkit_web_history_item_new_with_data(const gchar* uri, co
 
     WebCore::URL historyUri(WebCore::URL(), uri);
     WTF::String historyTitle = WTF::String::fromUTF8(title);
-    RefPtr<WebCore::HistoryItem> item = WebCore::HistoryItem::create(historyUri, historyTitle, 0);
+    RefPtr<WebCore::HistoryItem> item = WebCore::HistoryItem::create(historyUri, historyTitle);
     priv->historyItem = item.release().leakRef();
     webkit_history_item_add(webHistoryItem, priv->historyItem);
 
@@ -427,7 +427,9 @@ gdouble webkit_web_history_item_get_last_visited_time(WebKitWebHistoryItem* webH
 
     g_return_val_if_fail(item, 0);
 
-    return item->lastVisitedTime();
+    // FIXME: HistoryItem in WebCore doesn't implement visit stats anymore.
+    // https://bugs.webkit.org/show_bug.cgi?id=127673.
+    return 0;
 }
 
 /**