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

Unified Diff: Source/modules/accessibility/AXSlider.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/AXScrollbar.cpp ('k') | Source/modules/accessibility/AXSlider.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXSlider.h
diff --git a/Source/modules/accessibility/AXSlider.h b/Source/modules/accessibility/AXSlider.h
index 03313432e8524be8284b804bf451e4d8945971fe..5ecd00b074a23f9abf62303c7ac4ff4b91f54cda 100644
--- a/Source/modules/accessibility/AXSlider.h
+++ b/Source/modules/accessibility/AXSlider.h
@@ -40,11 +40,11 @@ class HTMLInputElement;
class AXSlider : public AXLayoutObject {
public:
- static PassRefPtr<AXSlider> create(LayoutObject*, AXObjectCacheImpl*);
+ static PassRefPtr<AXSlider> create(LayoutObject*, AXObjectCacheImpl&);
virtual ~AXSlider() { }
protected:
- AXSlider(LayoutObject*, AXObjectCacheImpl*);
+ AXSlider(LayoutObject*, AXObjectCacheImpl&);
private:
HTMLInputElement* element() const;
@@ -66,7 +66,7 @@ private:
class AXSliderThumb final : public AXMockObject {
public:
- static PassRefPtr<AXSliderThumb> create(AXObjectCacheImpl*);
+ static PassRefPtr<AXSliderThumb> create(AXObjectCacheImpl&);
virtual ~AXSliderThumb() { }
virtual AccessibilityRole roleValue() const override { return SliderThumbRole; }
@@ -74,7 +74,7 @@ public:
virtual LayoutRect elementRect() const override;
private:
- explicit AXSliderThumb(AXObjectCacheImpl*);
+ explicit AXSliderThumb(AXObjectCacheImpl&);
virtual bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override;
};
« no previous file with comments | « Source/modules/accessibility/AXScrollbar.cpp ('k') | Source/modules/accessibility/AXSlider.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698