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

Unified Diff: third_party/WebKit/Source/core/page/scrolling/RootScrollerController.h

Issue 2365173002: Detach PaintLayerScrollableArea from RootFrameViewport when disposed. (Closed)
Patch Set: Fixed ASAN failure in previous patch Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/page/scrolling/RootScrollerController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/page/scrolling/RootScrollerController.h
diff --git a/third_party/WebKit/Source/core/page/scrolling/RootScrollerController.h b/third_party/WebKit/Source/core/page/scrolling/RootScrollerController.h
index b6bd17714142d1441bfac04689cc94c65831eca1..a293942104a35b6a0819ffe9ea77b1457220a747 100644
--- a/third_party/WebKit/Source/core/page/scrolling/RootScrollerController.h
+++ b/third_party/WebKit/Source/core/page/scrolling/RootScrollerController.h
@@ -14,6 +14,7 @@ class Document;
class Element;
class GraphicsLayer;
class PaintLayer;
+class PaintLayerScrollableArea;
class ScrollableArea;
class ScrollStateCallback;
@@ -70,6 +71,10 @@ public:
// replaced by the default root scroller.
void didUpdateLayout();
+ // PaintLayerScrollableAreas need to notify this class when they're being
+ // disposed so that we can remove them as the root scroller.
+ void didDisposePaintLayerScrollableArea(PaintLayerScrollableArea&);
+
// Returns the PaintLayer associated with the currently effective root
// scroller.
PaintLayer* rootScrollerPaintLayer() const;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/page/scrolling/RootScrollerController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698