Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 3f9ec4370045aee58faa071ae21fa8dc6429ac3a https://github.com/WebKit/WebKit/commit/3f9ec4370045aee58faa071ae21fa8dc6429ac3a Author: Said Abou-Hallawa <s...@apple.com> Date: 2023-06-29 (Thu, 29 Jun 2023)
Changed paths: M Source/WebCore/platform/graphics/GraphicsContextState.cpp Log Message: ----------- GraphicsContextState returns it has inline changes when it does not have any change https://bugs.webkit.org/show_bug.cgi?id=258673 rdar://111513820 Reviewed by Wenson Hsieh. containsOnlyInlineChanges() and containsOnlyInlineStrokeChanges() should return false when the m_changeFlags is empty. The condition `if (m_changeFlags != (m_changeFlags & basicChangeFlags))` is evaluated to false when m_changeFlags is empty. * Source/WebCore/platform/graphics/GraphicsContextState.cpp: (WebCore::GraphicsContextState::containsOnlyInlineChanges const): (WebCore::GraphicsContextState::containsOnlyInlineStrokeChanges const): Canonical link: https://commits.webkit.org/265627@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes