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

Unified Diff: Source/modules/accessibility/AXScrollbar.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/AXScrollView.cpp ('k') | Source/modules/accessibility/AXScrollbar.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXScrollbar.h
diff --git a/Source/modules/accessibility/AXScrollbar.h b/Source/modules/accessibility/AXScrollbar.h
index a5cf88daf19f7d3366c0f35efc218749bc8103a5..847b872dcaf135c6a73ee0aabf4bc6b508095352 100644
--- a/Source/modules/accessibility/AXScrollbar.h
+++ b/Source/modules/accessibility/AXScrollbar.h
@@ -38,12 +38,12 @@ class Scrollbar;
class AXScrollbar final : public AXMockObject {
public:
- static PassRefPtr<AXScrollbar> create(Scrollbar*, AXObjectCacheImpl*);
+ static PassRefPtr<AXScrollbar> create(Scrollbar*, AXObjectCacheImpl&);
Scrollbar* scrollbar() const { return m_scrollbar.get(); }
private:
- AXScrollbar(Scrollbar*, AXObjectCacheImpl*);
+ AXScrollbar(Scrollbar*, AXObjectCacheImpl&);
virtual void detachFromParent() override;
« no previous file with comments | « Source/modules/accessibility/AXScrollView.cpp ('k') | Source/modules/accessibility/AXScrollbar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698