Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3e30b12ff28f464abb5862a19bc861cf3db832b6
      
https://github.com/WebKit/WebKit/commit/3e30b12ff28f464abb5862a19bc861cf3db832b6
  Author: Ahmad Saleem <[email protected]>
  Date:   2026-09-19 (Sat, 19 Sep 2026)

  Changed paths:
    M Source/WebCore/page/LocalFrameView.cpp

  Log Message:
  -----------
  LocalFrameView::scrollToPendingTextFragmentRange() serializes range text twice
https://bugs.webkit.org/show_bug.cgi?id=324641
rdar://187888262

Reviewed by Chris Dumez.

scrollToPendingTextFragmentRange() called plainText(range) twice: once into
a local rangeText that went unused, and again in the comparison against
m_pendingTextFragmentIndicatorText. Compare against the local instead,
removing a redundant text-serialization walk over the range.

* Source/WebCore/page/LocalFrameView.cpp:
(WebCore::LocalFrameView::scrollToPendingTextFragmentRange):

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



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

Reply via email to