[webkit-changes] [WebKit/WebKit] 400b41: Remove redundant RenderTextControl::textBlockLogic...

Alan Baradlay noreply at github.com
Sun May 28 19:18:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 400b4102ecf3ef0d77463f83d75df2166449a398
      https://github.com/WebKit/WebKit/commit/400b4102ecf3ef0d77463f83d75df2166449a398
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-05-28 (Sun, 28 May 2023)

  Changed paths:
    M Source/WebCore/rendering/RenderTextControl.cpp
    M Source/WebCore/rendering/RenderTextControl.h
    M Source/WebCore/rendering/RenderTextControlSingleLine.cpp

  Log Message:
  -----------
  Remove redundant RenderTextControl::textBlockLogicalWidth
https://bugs.webkit.org/show_bug.cgi?id=257437

Reviewed by Tim Nguyen.

...and also move textBlockLogicalHeight logic to RenderTextControlSingleLine::layout (only callsite).

* Source/WebCore/rendering/RenderTextControl.cpp:
(WebCore::RenderTextControl::textBlockLogicalHeight const): Deleted.
(WebCore::RenderTextControl::textBlockLogicalWidth const): Deleted.
* Source/WebCore/rendering/RenderTextControl.h:
* Source/WebCore/rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::layout):

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




More information about the webkit-changes mailing list