|
Oilpan: improve ScrollableArea handling.
Have all ScrollableArea objects reside on the Oilpan heap,
making ScrollableArea be a GC mixin.
Without it, some ScrollableAreas (FrameView) were on the heap
whereas others (*Viewport) weren't, making for unpredictable
and incorrect finalization as the lifetimes were skewed.
Additionally, simplify Scrollbar's unregistration with its
ScrollableArea (and its ScrollAnimator). The Oilpan-specific
RefPtr<ScrollAnimator> that Scrollbar kept, no longer served
a purpose, hence removed. As a result, ScrollAnimator can again
be fully owned by ScrollableAreas & no longer be RefCounted<>.
R=haraken
BUG= 504655
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198064
Total comments: 27
Total comments: 17
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+359 lines, -246 lines) |
Patch |
|
M |
Source/core/frame/FrameHost.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/frame/FrameHost.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/frame/FrameView.h
|
View
|
|
4 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/frame/FrameView.cpp
|
View
|
1
|
7 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/core/frame/PinchViewport.h
|
View
|
|
2 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
|
M |
Source/core/frame/PinchViewport.cpp
|
View
|
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/frame/RootFrameViewport.h
|
View
|
|
2 chunks |
+10 lines, -7 lines |
0 comments
|
Download
|
|
M |
Source/core/frame/RootFrameViewport.cpp
|
View
|
1
2
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/frame/RootFrameViewportTest.cpp
|
View
|
1
2
|
18 chunks |
+122 lines, -107 lines |
0 comments
|
Download
|
|
M |
Source/core/input/EventHandler.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/input/EventHandler.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/page/Page.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/page/Page.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/page/scrolling/ScrollingCoordinator.h
|
View
|
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/core/page/scrolling/ScrollingCoordinator.cpp
|
View
|
1
2
3
|
2 chunks |
+12 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/paint/DeprecatedPaintLayer.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/paint/DeprecatedPaintLayer.cpp
|
View
|
1
2
3
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/core/paint/DeprecatedPaintLayerScrollableArea.h
|
View
|
|
4 chunks |
+19 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp
|
View
|
1
2
|
4 chunks |
+22 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/platform/graphics/GraphicsLayerTest.cpp
|
View
|
|
2 chunks |
+16 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/platform/mac/ScrollAnimatorMac.mm
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/platform/scroll/ScrollAnimator.h
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/platform/scroll/ScrollAnimatorNone.cpp
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/platform/scroll/ScrollableArea.h
|
View
|
1
2
|
5 chunks |
+18 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/platform/scroll/ScrollableArea.cpp
|
View
|
1
2
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/platform/scroll/ScrollableAreaTest.cpp
|
View
|
|
3 chunks |
+17 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/platform/scroll/Scrollbar.h
|
View
|
1
2
3
|
3 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
|
M |
Source/platform/scroll/Scrollbar.cpp
|
View
|
1
2
3
|
2 chunks |
+7 lines, -19 lines |
0 comments
|
Download
|
|
M |
Source/web/ViewportAnchor.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/web/tests/PinchViewportTest.cpp
|
View
|
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/web/tests/ScrollAnimatorNoneTest.cpp
|
View
|
|
7 chunks |
+35 lines, -24 lines |
0 comments
|
Download
|
|
M |
Source/web/tests/WebFrameTest.cpp
|
View
|
1
2
|
2 chunks |
+0 lines, -12 lines |
0 comments
|
Download
|
Total messages: 16 (3 generated)
|