[webkit-changes] [WebKit/WebKit] f0c80d: [Win] Use Win32Handle for m_fileMapping of WTF::Fi...

Fujii Hironori noreply at github.com
Wed May 24 19:12:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f0c80d6f85768a161b0d767707ca44284373db84
      https://github.com/WebKit/WebKit/commit/f0c80d6f85768a161b0d767707ca44284373db84
  Author: Fujii Hironori <Hironori.Fujii at sony.com>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M Source/WTF/wtf/FileSystem.h
    M Source/WTF/wtf/win/FileSystemWin.cpp
    M Source/WebKit/NetworkProcess/cache/NetworkCacheDataCurl.cpp

  Log Message:
  -----------
  [Win] Use Win32Handle for m_fileMapping of WTF::FileSystem::MappedFileData
https://bugs.webkit.org/show_bug.cgi?id=257296

Reviewed by Don Olmstead.

Changed the type of m_fileMapping from HANDLE to Win32Handle.

* Source/WTF/wtf/FileSystem.h:
(WTF::FileSystemImpl::MappedFileData::fileMapping const):
(WTF::FileSystemImpl::MappedFileData::MappedFileData):
(WTF::FileSystemImpl::MappedFileData::operator=):
* Source/WTF/wtf/win/FileSystemWin.cpp:
(WTF::FileSystemImpl::MappedFileData::~MappedFileData):
(WTF::FileSystemImpl::MappedFileData::mapFileHandle):
* Source/WebKit/NetworkProcess/cache/NetworkCacheDataCurl.cpp:
(WebKit::NetworkCache::Data::tryCreateSharedMemory const):

Canonical link: https://commits.webkit.org/264502@main




More information about the webkit-changes mailing list