[WIN] Add implementation for WebCore::readFromFile()
Created attachment 207627 [details] Patch
Comment on attachment 207627 [details] Patch readFromFile is not currently used on the Windows build. Is there a corresponding change that causes this code to be needed?
(In reply to comment #2) > (From update of attachment 207627 [details]) > readFromFile is not currently used on the Windows build. Is there a corresponding change that causes this code to be needed? Not yet, but I like to port some code, which will use it.
Comment on attachment 207627 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=207627&action=review r=me. Please consider adding the global namespace prefix to the ReadFile method call. > Source/WebCore/platform/win/FileSystemWin.cpp:393 > + bool success = ReadFile(handle, data, length, &bytesRead, 0); We prefer to say "::ReadFile" for these global WinAPI calls.
Committed r156306: <http://trac.webkit.org/changeset/156306>