Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fb38b00d65a7dc6711e44e1698257f5847902cc5
      
https://github.com/WebKit/WebKit/commit/fb38b00d65a7dc6711e44e1698257f5847902cc5
  Author: Ahmad Saleem <[email protected]>
  Date:   2026-06-26 (Fri, 26 Jun 2026)

  Changed paths:
    M Source/WebCore/rendering/svg/legacy/LegacyRenderSVGForeignObject.cpp

  Log Message:
  -----------
  [LegacySVG] Drop needless IntPoint() conversion in 
LegacyRenderSVGForeignObject::paint()
https://bugs.webkit.org/show_bug.cgi?id=317818
rdar://180586380

Reviewed by Simon Fraser.

LegacyRenderSVGForeignObject::paint() initialized a LayoutPoint from a
default-constructed IntPoint(). LayoutPoint's default constructor already
zero-initializes, so the IntPoint() temporary and its conversion are
unnecessary. Default-construct childPoint directly. No behavior change.

* Source/WebCore/rendering/svg/legacy/LegacyRenderSVGForeignObject.cpp:
(WebCore::LegacyRenderSVGForeignObject::paint):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to