Implement more functions for the Qt build
[WebKit-https.git] / WebKitQt / WebCoreSupport / FrameLoaderClientQt.cpp
index bf72ae758fba9faa6dac93f1e15a05b8a840e734..9ffdc1aab6c44a77f8703f79a1f49154c2e6ba3d 100644 (file)
@@ -614,9 +614,11 @@ void FrameLoaderClientQt::updateGlobalHistoryForReload(const WebCore::KURL&)
     notImplemented();
 }
 
-bool FrameLoaderClientQt::shouldGoToHistoryItem(WebCore::HistoryItem*) const
+bool FrameLoaderClientQt::shouldGoToHistoryItem(WebCore::HistoryItem *item) const
 {
-    notImplemented();
+    if (item) {
+        return true;
+    }
     return false;
 }