[PE] Allow transient PaintController to abort without commit
This disables DCHECK(new_display_item_list_.IsEmpty()) for transient paint controllers in the destructor. We could require the client of a transient controller to always commit and finish cycle, but allowing to abort seems simpler and harmless. Bug: 904971 Change-Id: If1bd15b55cbad0e1871eaed4a8d30b78e8a54d86 Reviewed-on: https://chromium-review.googlesource.com/c/1336953Reviewed-by:Chris Harrelson <chrishtr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#608615}
Showing
Please register or sign in to comment