|
CompositingReasonFinder should use a virtual function instead of a nest of branches
This CL begins to move CompositingReasonFinder to using a virtual function on
RenderObject instead of a nest of "if video, if canvas" branches. This CL only creates
two overrides, one for video and one for canvas. A future CL will create
overrides for plugins and iframes, but there's some cleanup work we need to do first.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169685
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+83 lines, -91 lines) |
Patch |
 |
M |
Source/core/page/ChromeClient.h
|
View
|
|
2 chunks |
+2 lines, -13 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderHTMLCanvas.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderHTMLCanvas.cpp
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderObject.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderObject.cpp
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderVideo.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderVideo.cpp
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/compositing/CompositingReasonFinder.h
|
View
|
|
3 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/compositing/CompositingReasonFinder.cpp
|
View
|
|
11 chunks |
+14 lines, -45 lines |
0 comments
|
Download
|
 |
A + |
Source/core/rendering/compositing/CompositingTriggers.h
|
View
|
1
|
2 chunks |
+16 lines, -19 lines |
0 comments
|
Download
|
 |
M |
Source/web/ChromeClientImpl.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/web/ChromeClientImpl.cpp
|
View
|
|
1 chunk |
+9 lines, -9 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|