TextControl NG: Remove DowncastTraits<LayoutTextControl>
Text controls in LayoutNG won't inherit from LayoutTextControl. We should avoid operations on LayoutTextControl. All of usages of casting to LayoutTextControl were to get TextControlElements. This CL replaces them with To<TextControlElement>(layout_object->GetNode()). This CL has no behavior changes. Bug: 1040826 Change-Id: Ic6879147314e91cdaf361734e8d6a06300eaeb6f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2438097 Commit-Queue: Kent Tamura <tkent@chromium.org> Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Auto-Submit: Kent Tamura <tkent@chromium.org> Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#812015}
Showing
Please register or sign in to comment