Commit cbf58aa5 authored by Kent Tamura's avatar Kent Tamura Committed by Commit Bot

Update a comment in LayoutTextControl::StyleDidChange

This CL has no behavior changes.

TBR=futhark@chromium.org

No-Try: true
Change-Id: I212e00963ddb9636c6ab754bd28b4dcce2ad03a0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2545322
Commit-Queue: Kent Tamura <tkent@chromium.org>
Reviewed-by: default avatarKent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#828310}
parent e9fb2815
......@@ -78,7 +78,7 @@ void LayoutTextControl::StyleDidChange(HTMLElement* inner_editor,
}
// The inner editor element uses the LayoutTextControl's ::selection style
// (see: GetUncachedSelectionStyle in SelectionPaintingUtils.cpp) so ensure
// (see: HighlightPseudoStyle in highlight_painting_utils.cc) so ensure
// the inner editor selection is invalidated anytime style changes and a
// ::selection style is or was present on LayoutTextControl.
if (new_style.HasPseudoElementStyle(kPseudoIdSelection) ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment