LayoutSelection::ComputeSelectionStatus must be called only at clean layout
ComputeSelectionStatus was called also at dirty layout only for test purpose. However we should call it only at clean layout. This patch DCHECKs the condition and brushes up the test not to do so. Bug: 708452 Change-Id: If19ff331b4945a6506719b0154378960d50b8f1f Reviewed-on: https://chromium-review.googlesource.com/c/1441732Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:
Xiaocheng Hu <xiaochengh@chromium.org> Commit-Queue: Yoichi Osato <yoichio@chromium.org> Cr-Commit-Position: refs/heads/master@{#626921}
Showing
Please register or sign in to comment