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

Unified Diff: Source/core/dom/AXObjectCache.h

Issue 1053773002: Add WebScopedAXContext to allow a one-time snapshot of accessibility. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update other callers of ScopedAXObjectCache to use RefPtr Created 5 years, 8 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 | « no previous file | Source/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/AXObjectCache.h
diff --git a/Source/core/dom/AXObjectCache.h b/Source/core/dom/AXObjectCache.h
index 1685ebeb6f88693886c6dd3d673e552dceca881d..4b2d92d93330322434dafaaa717720dac2871179 100644
--- a/Source/core/dom/AXObjectCache.h
+++ b/Source/core/dom/AXObjectCache.h
@@ -141,7 +141,7 @@ private:
static AXObjectCacheCreateFunction m_createFunction;
};
-class CORE_EXPORT ScopedAXObjectCache {
+class CORE_EXPORT ScopedAXObjectCache : public RefCounted<ScopedAXObjectCache> {
WTF_MAKE_NONCOPYABLE(ScopedAXObjectCache);
public:
explicit ScopedAXObjectCache(Document&);
« no previous file with comments | « no previous file | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698