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

Unified Diff: Source/modules/accessibility/AXProgressIndicator.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
Index: Source/modules/accessibility/AXProgressIndicator.h
diff --git a/Source/modules/accessibility/AXProgressIndicator.h b/Source/modules/accessibility/AXProgressIndicator.h
index 83e9a3addbe5b8b3714adb8f28fa5ab1e69710ce..584d8b84e23c1c2d96a19656c0bbbce7162481bb 100644
--- a/Source/modules/accessibility/AXProgressIndicator.h
+++ b/Source/modules/accessibility/AXProgressIndicator.h
@@ -31,7 +31,7 @@ class LayoutProgress;
class AXProgressIndicator final : public AXLayoutObject {
public:
- static PassRefPtr<AXProgressIndicator> create(LayoutProgress*, AXObjectCacheImpl*);
+ static PassRefPtr<AXProgressIndicator> create(LayoutProgress*, AXObjectCacheImpl&);
private:
virtual AccessibilityRole determineAccessibilityRole() override final;
@@ -42,7 +42,7 @@ private:
virtual float maxValueForRange() const override;
virtual float minValueForRange() const override;
- AXProgressIndicator(LayoutProgress*, AXObjectCacheImpl*);
+ AXProgressIndicator(LayoutProgress*, AXObjectCacheImpl&);
HTMLProgressElement* element() const;
virtual bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override;
« no previous file with comments | « Source/modules/accessibility/AXObjectCacheImpl.cpp ('k') | Source/modules/accessibility/AXProgressIndicator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698