[webkit-changes] [WebKit/WebKit] cf6c74: Simplify includesAdjacentEdges in BorderEdge.h

Ahmad Saleem noreply at github.com
Sun Nov 13 20:40:18 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cf6c7427c39149e47f26278d01d90fc8d70e159c
      https://github.com/WebKit/WebKit/commit/cf6c7427c39149e47f26278d01d90fc8d70e159c
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2022-11-13 (Sun, 13 Nov 2022)

  Changed paths:
    M Source/WebCore/rendering/BorderEdge.h

  Log Message:
  -----------
  Simplify includesAdjacentEdges in BorderEdge.h

Simplify includesAdjacentEdges in BorderEdge.h
https://bugs.webkit.org/show_bug.cgi?id=247856

Reviewed by Tim Nguyen.

Merge - https://chromium.googlesource.com/chromium/blink/+/45cd7b0546450187bb5f781d47778b739911341f

This patch is to simplify the "BorderEdge" adjacency test to reflect on the condition that
adjacent edge only exist if has at least one horizontal and vertical edge.

* Source/WebCore/rendering/BorderEdge.h: Refactor "includesEdge" to simpler form and add comment

Co-Authored-By: Tim Nguyen <nt1m at users.noreply.github.com>

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




More information about the webkit-changes mailing list