[Win] Unreviewed fix after r182757.
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Apr 2015 21:42:16 +0000 (21:42 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Apr 2015 21:42:16 +0000 (21:42 +0000)
* platform/win/FileSystemWin.cpp:
(WebCore::renameFile): Checked in wrong version.

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

Source/WebCore/ChangeLog
Source/WebCore/platform/win/FileSystemWin.cpp

index 10b0995..74cc066 100644 (file)
@@ -1,5 +1,12 @@
 2015-04-13  Brent Fulgham  <bfulgham@apple.com>
 
+        [Win] Unreviewed fix after r182757.
+
+        * platform/win/FileSystemWin.cpp:
+        (WebCore::renameFile): Checked in wrong version.
+
+2015-04-13  Brent Fulgham  <bfulgham@apple.com>
+
         [Win] Unreviewed fix after r182161.
 
         The change caused Windows to lose Media UI, since the new 'getFileSize'
index 60b87e2..cbe6889 100644 (file)
@@ -186,8 +186,7 @@ bool renameFile(const String& oldPath, const String& newPath)
     if (!newPathFsRep.data() || newPathFsRep.data()[0] == '\0')
         return false;
 
-    notImplemented();
-    return false;
+    return ::MoveFileA(oldPathFsRep.data(), newPathFsRep.data());
 }
 
 String pathByAppendingComponent(const String& path, const String& component)