[webkit-changes] [WebKit/WebKit] 932595: Minor simplification in previousNodeConsideringAto...

Ahmad Saleem noreply at github.com
Wed Dec 14 07:59:10 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 932595ba40313d978f16b69cfb4c8ff7409d8559
      https://github.com/WebKit/WebKit/commit/932595ba40313d978f16b69cfb4c8ff7409d8559
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2022-12-14 (Wed, 14 Dec 2022)

  Changed paths:
    M Source/WebCore/editing/Editing.cpp

  Log Message:
  -----------
  Minor simplification in previousNodeConsideringAtomicNodes

Minor simplification in previousNodeConsideringAtomicNodes
https://bugs.webkit.org/show_bug.cgi?id=249247

Reviewed by Ryosuke Niwa.

Merge - https://chromium.googlesource.com/chromium/blink/+/4284fb4b31e2ddbf7b4a2294e4bbda898f1780b5

This patch is to simplify the return value of function to return 'node->parentNode()'.

* Source/WebCore/editing/Editing.cpp:
(previousNodeConsideringAtomicNodes): Simplify return

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




More information about the webkit-changes mailing list