LayoutNG for buttons: Remove IsLayoutButton(), and add IsButtonOrNGButton()
This CL removes LayoutObject::IsLayoutButton(), which check if |this| is a LayoutButton, and adds LayoutObject::IsButtonOrNGButton(), which check if |this| is a LayoutButton or a LayoutNGButton. Also, this replaces existing callsites of IsLayoutButton() with IsButtonOrNGButton(). This CL has no behavior changes because LayoutNGButton is no used yet. Bug: 1040826 Change-Id: I92f052d50a6467ea2d1c86c4e75d3d68db8a75cc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2302975 Commit-Queue: Kent Tamura <tkent@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Auto-Submit: Kent Tamura <tkent@chromium.org> Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:
Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#789343}
Showing
Please register or sign in to comment