| Auto-Submit | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Reviewer source(s):
stl...@chromium.org is from context(googleclient/chrome/chromium_gwsq/team/topchrome/config.gwsq)
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
1 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: ui/views/controls/menu/menu_item_view.cc
Insertions: 4, Deletions: 4.
@@ -791,14 +791,14 @@
}
void MenuItemView::ChildrenChanged() {
- const auto controller = GetMenuController()->AsWeakPtr();
- if (controller) {
+ auto* const controller_ptr = GetMenuController();
+ if (controller_ptr) {
UpdateEmptyMenusAndMetrics();
- controller->MenuChildrenChanged(this);
-
// Certain accessibility callbacks could destroy the menu indirectly through
// activation changes.
+ const auto controller = controller_ptr->AsWeakPtr();
+ controller->MenuChildrenChanged(this);
if (!controller) {
return;
}
```
[Menu] Avoid potential access after self-deletion
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |