-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get rid of redundant function ComputeLocalRect() in "ng_paint_fragmen…
…t.cc" This patch gets rid of redundant function ComputeLocalRect() in "ng_paint_fragment.cc" introduced by CL[1] by replacing to |NGInlineCursor| version[2] for improving code health. [1] http://crrev.com/c/1832843 Paint selection with NGFragmentItem, Oct 11 [2] http://crrev.com/c/1880890 Make LayoutText::GetTextBoxInfo() to use NGInlineCursor, Oct 25 Bug: 982194 Change-Id: I9fdaadb0818d61b3aa2f4ac60482feec45886efd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1896476 Auto-Submit: Yoshifumi Inoue <yosin@chromium.org> Reviewed-by: Koji Ishii <kojii@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#711994}
- Loading branch information
Showing
2 changed files
with
33 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters