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

Unified Diff: Source/modules/accessibility/AXScrollView.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/AXSVGRoot.cpp ('k') | Source/modules/accessibility/AXScrollView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXScrollView.h
diff --git a/Source/modules/accessibility/AXScrollView.h b/Source/modules/accessibility/AXScrollView.h
index d21e712c8f330b5547d70f9a647321235b92326e..82842e022e58b1cea9263fe3e18076ab0b87338b 100644
--- a/Source/modules/accessibility/AXScrollView.h
+++ b/Source/modules/accessibility/AXScrollView.h
@@ -37,7 +37,7 @@ class FrameView;
class AXScrollView final : public AXObject {
public:
- static PassRefPtr<AXScrollView> create(FrameView*, AXObjectCacheImpl*);
+ static PassRefPtr<AXScrollView> create(FrameView*, AXObjectCacheImpl&);
virtual AccessibilityRole roleValue() const override { return ScrollAreaRole; }
FrameView* scrollView() const { return m_scrollView; }
@@ -48,7 +48,7 @@ protected:
virtual ScrollableArea* getScrollableAreaIfScrollable() const override;
private:
- AXScrollView(FrameView*, AXObjectCacheImpl*);
+ AXScrollView(FrameView*, AXObjectCacheImpl&);
virtual bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override;
virtual bool isAXScrollView() const override { return true; }
« no previous file with comments | « Source/modules/accessibility/AXSVGRoot.cpp ('k') | Source/modules/accessibility/AXScrollView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698