|
Move paint code for RenderScrollbar and RenderScrollbarPart into ScrollbarPainter.
In so doing, exposed a new getPart() method on RenderScrollbar to get the part.
Also, this patch changes the code in RenderScrollbarPart to explicitly call the BlockPainter::paint method, rather than relying on virtual function calls. This is possible because RenderScrollbarPart is a FINAL class that inherits from BlockPainter. Therefore all of these calls must be the BlockPainter version.
BUG= 412088
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182855
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+95 lines, -41 lines) |
Patch |
|
M |
Source/core/core.gypi
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/frame/FrameView.cpp
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
A |
Source/core/paint/ScrollbarPainter.h
|
View
|
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
|
A |
Source/core/paint/ScrollbarPainter.cpp
|
View
|
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderLayerScrollableArea.cpp
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderScrollbar.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderScrollbar.cpp
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderScrollbarPart.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderScrollbarPart.cpp
|
View
|
|
1 chunk |
+0 lines, -20 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderScrollbarTheme.cpp
|
View
|
|
2 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
Total messages: 7 (3 generated)
|