Make InlineBoxTraversal return const pointers and/or references
InlineBoxTraversal is not supposed to alter the layout tree, so its member functions should return const pointers. Some member functions always return non-null values, so their return types are changed to const references to beffer clarity. This is also a preparation patch for crrev.com/c/1038058, splitting off some of its trivial changes to reduce the size of the big patch. Bug: 822575 Change-Id: I9c32814a88d42e9115be97425b0e0015c4d1779d Reviewed-on: https://chromium-review.googlesource.com/1048785Reviewed-by:Emil A Eklund <eae@chromium.org> Reviewed-by:
Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#556674}
Showing
Please register or sign in to comment