[haiku-webkit-commits] r325 - webkit/trunk/WebKit/haiku/WebPositive

  • From: webkit@xxxxxxxxxxxxxxx
  • To: haiku-webkit-commits@xxxxxxxxxxxxx
  • Date: Wed, 17 Mar 2010 19:44:34 +0000

Author: stippi
Date: Wed Mar 17 19:44:34 2010
New Revision: 325
URL: http://mmlr.dyndns.org/changeset/325

Log:
Fix the history restoration for real... duh!

Modified:
   webkit/trunk/WebKit/haiku/WebPositive/BrowsingHistory.cpp

Modified: webkit/trunk/WebKit/haiku/WebPositive/BrowsingHistory.cpp
==============================================================================
--- webkit/trunk/WebKit/haiku/WebPositive/BrowsingHistory.cpp   Wed Mar 17 
19:40:58 2010        (r324)
+++ webkit/trunk/WebKit/haiku/WebPositive/BrowsingHistory.cpp   Wed Mar 17 
19:44:34 2010        (r325)
@@ -154,7 +154,7 @@
 
                BMessage historyItemArchive;
                for (int32 i = 0; settingsArchive.FindMessage("history item", 
i, &historyItemArchive) == B_OK; i++) {
-                       
privateAddItem(BrowsingHistoryItem(&historyItemArchive), false);
+                       
privateAddItem(BrowsingHistoryItem(&historyItemArchive), true);
                        historyItemArchive.MakeEmpty();
                }
        }
@@ -206,6 +206,8 @@
     saveSettings();
 }      
 
+// #pragma mark - private
+
 void BrowsingHistory::privateClear()
 {
        int32 count = countItems();
@@ -248,8 +250,6 @@
     return true;
 }
 
-// #pragma mark - private
-
 void BrowsingHistory::saveSettings()
 {
        BFile settingsFile;

Other related posts:

  • » [haiku-webkit-commits] r325 - webkit/trunk/WebKit/haiku/WebPositive - webkit