commit | 2a5852ffadae9a1ff7b11f8f3e915e713514a193 | [log] [tgz] |
---|---|---|
author | Liquan(Max) Gu <maxlg@chromium.org> | Tue Feb 12 18:22:50 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Feb 12 18:22:50 2019 |
tree | 7de93750a571e157116425a69058e13f77a555c4 | |
parent | 883f5f3f7c40b76aacd4d8a3c9bc35156cc2f419 [diff] |
[FCP++] TextPaint: Move node checking from pre-paint to paint Currently FCP++ is hooking into pre-paint-tree-walk for node-checking. FCP++ is supposed to check the nodes to be painted immediately afterwards. However, pre-paint-tree-walk will expose more than the nodes FCP++ need to know. As an improvement, we are going to move node-checking to painter::paint. We've changed the visual rect of an object. Originally, we used object.FirstFragment().VisualRect(). Now we change to use object.FragmentsVisualRectBoundingBox(). Bug: 924301 Change-Id: If8d65ace02ce400334803db0dbde2b85f3c182f5 Reviewed-on: https://chromium-review.googlesource.com/c/1427794 Commit-Queue: Liquan (Max) Gu <maxlg@chromium.org> Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#631304}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .