Stop spurious feedback panels being displayed
Panel items can be created and attached to a a display panel by calling createPanelItem() followed by attachPanelItem() and they can be removed by calling removePanelItem(). Change the API surface for attaching panel items to ignore panel items that have already been removed using removePanelItem(). Bug: 1006124 Tests: Updated browser_tests --gtest_filter="FileManagerJsTest.FilesDisplayPanel" Change-Id: Id7dce8496f4a5cf2090b9071404bd45b5033ae07 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1819078Reviewed-by:Noel Gordon <noel@chromium.org> Commit-Queue: Alex Danilo <adanilo@chromium.org> Cr-Commit-Position: refs/heads/master@{#698833}
Showing
Please register or sign in to comment