Use Element& instead of Element* as a parameter of HasEquivalentAttributes
When HasEquivalentAttributes is called, Element object was passed as a parameter. and it is never nullptr. so it can be changed to reference instead of pointer. Bug: 874385 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: I237a11e88236ef195ade12ee26b0722786f17e29 Reviewed-on: https://chromium-review.googlesource.com/1232810Reviewed-by:Hayato Ito <hayato@chromium.org> Commit-Queue: Hwanseung Lee <hs1217.lee@samsung.com> Cr-Commit-Position: refs/heads/master@{#592681}
Showing
Please register or sign in to comment