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

Unified Diff: Source/core/accessibility/AXScrollView.h

Issue 603193005: Move the Widget hierarchy to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase upto and resolve r182737 conflict. Created 6 years, 3 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/core/accessibility/AXScrollView.h
diff --git a/Source/core/accessibility/AXScrollView.h b/Source/core/accessibility/AXScrollView.h
index fbe205301e42f7ab1cda1d146f17dd49d697d7a0..2565ff7ef4862c90109273e85244a6e457fd562f 100644
--- a/Source/core/accessibility/AXScrollView.h
+++ b/Source/core/accessibility/AXScrollView.h
@@ -75,6 +75,11 @@ private:
AXScrollbar* addChildScrollbar(Scrollbar*);
void removeChildScrollbar(AXObject*);
+ // FIXME: Oilpan: Frame/ScrollView is on the heap, but can we
+ // assume that the corresponding AXScrollView is retired from
+ // the AX cache before it is finalized? If so, maintaining
+ // this as a bare pointer appears preferable. A persistent
+ // could create a leak.
ScrollView* m_scrollView;
haraken 2014/09/26 09:19:25 Just to confirm: m_scrollView shouldn't become a s
sof 2014/09/28 08:05:52 That's correct, and detaching happens when the AX
RefPtr<AXObject> m_horizontalScrollbar;
RefPtr<AXObject> m_verticalScrollbar;

Powered by Google App Engine
This is Rietveld 408576698