Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1539)

Unified Diff: Source/modules/accessibility/AXMenuList.h

Issue 1175533004: Refactor: Clear m_axObjectCache when AXObject detaches (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added ASSERT Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/accessibility/AXMediaControls.cpp ('k') | Source/modules/accessibility/AXMenuList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXMenuList.h
diff --git a/Source/modules/accessibility/AXMenuList.h b/Source/modules/accessibility/AXMenuList.h
index 0f0a2af6e5219490360aca5621d7f64d253b2bd0..b4650e758fca5f92768b3a79f1e9e7f7a1635343 100644
--- a/Source/modules/accessibility/AXMenuList.h
+++ b/Source/modules/accessibility/AXMenuList.h
@@ -35,7 +35,7 @@ class LayoutMenuList;
class AXMenuList final : public AXLayoutObject {
public:
- static PassRefPtr<AXMenuList> create(LayoutMenuList* layoutObject, AXObjectCacheImpl*);
+ static PassRefPtr<AXMenuList> create(LayoutMenuList* layoutObject, AXObjectCacheImpl&);
virtual bool isCollapsed() const override;
virtual AccessibilityExpanded isExpanded() const override final;
@@ -47,7 +47,7 @@ public:
void didHidePopup();
private:
- AXMenuList(LayoutMenuList*, AXObjectCacheImpl*);
+ AXMenuList(LayoutMenuList*, AXObjectCacheImpl&);
virtual bool isMenuList() const override { return true; }
virtual AccessibilityRole determineAccessibilityRole() override final;
« no previous file with comments | « Source/modules/accessibility/AXMediaControls.cpp ('k') | Source/modules/accessibility/AXMenuList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698