commit | 95e719856c142dd807b287f535e3a597c3112e5e | [log] [tgz] |
---|---|---|
author | Mason Freed <masonfreed@google.com> | Fri Aug 10 23:14:29 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Aug 10 23:14:29 2018 |
tree | 614745c0ab0cc19d236fca1ba0f0c6a239d238b5 | |
parent | fea7ed541cd675d0ac5d17b2f8fcd6ac82edcffc [diff] |
Replaced calls to LayoutObject.Style() with LayoutObject.StyleRef(). Especially within paint, most calls to LayoutObject.Style() are assuming a non-null pointer and dereferencing it. To better document the fact that these calls (properly, in most cases) assume the layout object contains style, they should be replaced with calls to the StyleRef() function, which dereferences the pointer. Bug: 872508 Change-Id: Id6a04871c12a2c09d1029ca5aa04ae49099f7fd0 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1171144 Reviewed-by: Chris Harrelson <chrishtr@chromium.org> Commit-Queue: Mason Freed <masonfreed@google.com> Cr-Commit-Position: refs/heads/master@{#582380}
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 .