commit | 703e9e62cd9fda43c2b4c9924fc3d41977d621fe | [log] [tgz] |
---|---|---|
author | Fredrik Söderquist <fs@opera.com> | Mon Oct 23 18:03:35 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Oct 23 18:03:35 2017 |
tree | d13b3d55ea310c18c388b7680a64c2ed970d0d28 | |
parent | c973b1752686bb8a103505fe51846c96eb605395 [diff] |
Use ContentSize() for content size stored for paint invalidation LayoutBox::ContentSize() is more to the point than calling LayoutBox::ContentBoxRect() and then do Size() on the result (ignoring the position.) Hopefully it is also faster (4 vs 8 virtual calls.) Change-Id: If8c370446fad49d976d1d7576ac7041cd8d78180 Reviewed-on: https://chromium-review.googlesource.com/733164 Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#510846}
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 .