Clear visited links when clearing history.
authorstaikos@webkit.org <staikos@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 1 Jul 2012 17:09:25 +0000 (17:09 +0000)
committerstaikos@webkit.org <staikos@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 1 Jul 2012 17:09:25 +0000 (17:09 +0000)
https://bugs.webkit.org/show_bug.cgi?id=90345

Reviewed by Antonio Gomes.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPage::clearHistory):

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

Source/WebKit/blackberry/Api/WebPage.cpp
Source/WebKit/blackberry/ChangeLog

index 7d04434..e7f1cc9 100644 (file)
@@ -5358,6 +5358,7 @@ void WebPage::clearBrowsingData()
 void WebPage::clearHistory()
 {
     // Don't clear the back-forward list as we might like to keep it.
+    PageGroup::removeAllVisitedLinks();
 }
 
 void WebPage::clearCookies()
index 94d4382..a142c0d 100644 (file)
@@ -1,3 +1,13 @@
+2012-07-01  George Staikos  <staikos@webkit.org>
+
+        Clear visited links when clearing history.
+        https://bugs.webkit.org/show_bug.cgi?id=90345
+
+        Reviewed by Antonio Gomes.
+
+        * Api/WebPage.cpp:
+        (BlackBerry::WebKit::WebPage::clearHistory):
+
 2012-06-30  Jason Liu  <jason.liu@torchmobile.com.cn>
 
         [BlackBerry] WebView/Browser cause blank screen when selecting a dropdown field.