[webkit-changes] [WebKit/WebKit] 3f9ec4: GraphicsContextState returns it has inline changes...

Said Abou-Hallawa noreply at github.com
Thu Jun 29 13:17:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3f9ec4370045aee58faa071ae21fa8dc6429ac3a
      https://github.com/WebKit/WebKit/commit/3f9ec4370045aee58faa071ae21fa8dc6429ac3a
  Author: Said Abou-Hallawa <said at 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




More information about the webkit-changes mailing list