Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: afbcfab2cefd87cd5534a9a3086efc21e97cd727 https://github.com/WebKit/WebKit/commit/afbcfab2cefd87cd5534a9a3086efc21e97cd727 Author: Fujii Hironori <hironori.fu...@sony.com> Date: 2023-07-12 (Wed, 12 Jul 2023)
Changed paths: M Source/WebCore/Modules/async-clipboard/ClipboardItemBindingsDataSource.cpp M Source/WebCore/dom/FullscreenManager.cpp M Source/WebCore/platform/graphics/egl/GLContext.cpp M Source/WebCore/platform/graphics/win/ComplexTextControllerUniscribe.cpp M Source/WebCore/platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp M Source/WebCore/platform/win/KeyEventWin.cpp M Source/WebCore/platform/win/PlatformMouseEventWin.cpp M Source/WebCore/platform/win/WheelEventWin.cpp M Source/WebCore/rendering/mathml/RenderMathMLBlockInlines.h Log Message: ----------- Fix clang-cl warnings of WebCore for Windows port https://bugs.webkit.org/show_bug.cgi?id=259100 Reviewed by Ross Kirsling. clang-cl reported the following warnings: > platform\graphics\win\ComplexTextControllerUniscribe.cpp(141,9): warning: > unused variable 'i' [-Wunused-variable] > platform\graphics\egl\GLContext.cpp(228,29): warning: enumeration value > 'Windows' not handled in switch [-Wswitch] > platform\graphics\egl\GLContext.cpp(359,33): warning: enumeration value > 'Windows' not handled in switch [-Wswitch] > platform\graphics\egl\GLContext.cpp(406,33): warning: enumeration value > 'Windows' not handled in switch [-Wswitch] > platform\win\KeyEventWin.cpp(238,7): warning: field 'm_windowsVirtualKeyCode' > will be initialized after field 'm_autoRepeat' [-Wreorder-ctor] > platform\win\PlatformMouseEventWin.cpp(86,7): warning: field 'm_buttons' will > be initialized after field 'm_clickCount' [-Wreorder-ctor] > platform\win\WheelEventWin.cpp(78,7): warning: field 'm_globalPosition' will > be initialized after field 'm_directionInvertedFromDevice' [-Wreorder-ctor] > platform\graphics\win\MediaPlayerPrivateMediaFoundation.cpp(84,13): warning: > delete called on non-final > 'WebCore::MediaPlayerPrivateMediaFoundation::AsyncCallback' that has virtual > functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] > platform\graphics\win\MediaPlayerPrivateMediaFoundation.cpp(2834,26): > warning: unused variable 'image' [-Wunused-variable] > Modules/async-clipboard/ClipboardItemBindingsDataSource.cpp(154,31): warning: > lambda capture 'this' is not used [-Wunused-lambda-capture] > dom/FullscreenManager.cpp(299,65): warning: lambda capture 'this' is not used > [-Wunused-lambda-capture] > rendering\RenderTable.h(66,23): warning: inline function > 'WebCore::RenderTable::borderTop' is not defined [-Wundefined-inline] > rendering\RenderTable.h(67,23): warning: inline function > 'WebCore::RenderTable::borderBottom' is not defined [-Wundefined-inline] * Source/WebCore/Modules/async-clipboard/ClipboardItemBindingsDataSource.cpp: (WebCore::ClipboardItemBindingsDataSource::collectDataForWriting): * Source/WebCore/dom/FullscreenManager.cpp: (WebCore::FullscreenManager::cancelFullscreen): * Source/WebCore/platform/graphics/egl/GLContext.cpp: (WebCore::GLContext::createWindowContext): (WebCore::GLContext::createOffscreen): (WebCore::GLContext::createSharing): * Source/WebCore/platform/graphics/win/ComplexTextControllerUniscribe.cpp: (WebCore::stringIndicesFromClusters): * Source/WebCore/platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp: (WebCore::MediaPlayerPrivateMediaFoundation::AsyncCallback::~AsyncCallback): (WebCore::MediaPlayerPrivateMediaFoundation::Direct3DPresenter::paintCurrentFrame): * Source/WebCore/platform/win/KeyEventWin.cpp: (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent): * Source/WebCore/platform/win/PlatformMouseEventWin.cpp: (WebCore::PlatformMouseEvent::PlatformMouseEvent): * Source/WebCore/platform/win/WheelEventWin.cpp: (WebCore::PlatformWheelEvent::PlatformWheelEvent): * Source/WebCore/rendering/mathml/RenderMathMLBlockInlines.h: Canonical link: https://commits.webkit.org/266001@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes