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

Unified Diff: Source/modules/accessibility/AXMenuListPopup.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/AXMenuListOption.cpp ('k') | Source/modules/accessibility/AXMenuListPopup.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXMenuListPopup.h
diff --git a/Source/modules/accessibility/AXMenuListPopup.h b/Source/modules/accessibility/AXMenuListPopup.h
index 16bf93ca8626ad86b3c318aab861ab7a0b204c40..58327bd501025f3f148c62573b1a2d7923f8121e 100644
--- a/Source/modules/accessibility/AXMenuListPopup.h
+++ b/Source/modules/accessibility/AXMenuListPopup.h
@@ -36,7 +36,7 @@ class HTMLElement;
class AXMenuListPopup final : public AXMockObject {
public:
- static PassRefPtr<AXMenuListPopup> create(AXObjectCacheImpl* axObjectCache) { return adoptRef(new AXMenuListPopup(axObjectCache)); }
+ static PassRefPtr<AXMenuListPopup> create(AXObjectCacheImpl& axObjectCache) { return adoptRef(new AXMenuListPopup(axObjectCache)); }
virtual bool isEnabled() const override;
virtual bool isOffScreen() const override;
@@ -47,7 +47,7 @@ public:
AXObject* activeChild();
private:
- explicit AXMenuListPopup(AXObjectCacheImpl*);
+ explicit AXMenuListPopup(AXObjectCacheImpl&);
virtual bool isMenuListPopup() const override { return true; }
« no previous file with comments | « Source/modules/accessibility/AXMenuListOption.cpp ('k') | Source/modules/accessibility/AXMenuListPopup.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698