This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Contextual Search] Remove layers when no longer needed.
Now that there can be multiple Overlays Panels being used, a few bugs are happening due to the Panel's cc::Layer not being properly removed. This CL fixes the problem by removing the layer when a OverlayPanel shows up when another one is being displayed. Also, this CL removed the OverlayPanel layer from the StaticLayout whenever that layout gets hidden (see dettachViews method). BUG=539847 Review URL: https://codereview.chromium.org/1489213002 Cr-Commit-Position: refs/heads/master@{#363092} (cherry picked from commit a53e46e) Review URL: https://codereview.chromium.org/1502703002 . Cr-Commit-Position: refs/branch-heads/2564@{#242} Cr-Branched-From: 1283eca-refs/heads/master@{#359700}
- Loading branch information