[webkit-changes] [WebKit/WebKit] 9a69a5: Minor refactoring to avoid redundant functions cal...

Ahmad Saleem noreply at github.com
Tue Feb 27 21:32:54 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9a69a5010e0f688e8f0f5aa47a389060b2cbdc2e
      https://github.com/WebKit/WebKit/commit/9a69a5010e0f688e8f0f5aa47a389060b2cbdc2e
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M Source/WebCore/editing/ApplyBlockElementCommand.cpp
    M Source/WebCore/editing/IndentOutdentCommand.cpp

  Log Message:
  -----------
  Minor refactoring to avoid redundant functions calls in Editing code

https://bugs.webkit.org/show_bug.cgi?id=270202

Reviewed by Ryosuke Niwa.

Merge: https://chromium.googlesource.com/chromium/blink/+/27d47607bcb998d4ca3d4e0452341bde77c74f98

This patch do minor refactoring to avoid redundant function calls. Also,
it also remove unused `nodeAfterStart` variable.

* Source/WebCore/editing/ApplyBlockElementCommand.cpp:
(ApplyBlockElementCommand::formatSelection):
* Source/WebCore/editing/IndentOutdentCommand.cpp:
(IndentOutdentCommand::indentIntoBlockquote):
(IndentOutdentCommand::outdentRegion):

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



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


More information about the webkit-changes mailing list