Move Windows safe file creation code into WebCore from WebPreferences
[WebKit-https.git] / WebKit / win / ChangeLog
index 00db09cf39220669949b3da25105837b8066ad5b..28f21f95d75e55e90b2121731b7684220093807b 100644 (file)
@@ -1,3 +1,17 @@
+2007-10-23  Adam Roben  <aroben@apple.com>
+
+        Move safe file creation code to WebCore
+
+        Reviewed by Brady.
+
+        * WebPreferences.cpp:
+        (preferencesPath): Made into a static helper function.
+        (WebPreferences::save): Now calls WebCore's safeCreateFile function.
+        (WebPreferences::load): Uses String/CString to handle the UTF-8
+        conversion.
+        * WebPreferences.h: Removed preferencesPath and
+        safeCreateFileWithData.
+
 2007-10-23  Adam Roben  <aroben@apple.com>
 
         Reduce code duplication by using WebCore's FileSystem functions
 2007-10-23  Adam Roben  <aroben@apple.com>
 
         Reduce code duplication by using WebCore's FileSystem functions