|
|
Allow certain SP recorder classes to defer their "begin" operation.
This replaces OwnPtr<...> as a pattern when we're uncertain whether we want
to do this. Heap allocation for this case is unnecessary.
DO NOT SUBMIT: I think this hurts clarity too much.
I think this makes it much less clear at the call site whether the begin
will happen immediately or not, and changing all recorders to defer their
begin will be yet more invasive and noisy.
It also makes the recorders themselves more confusing.
There's also a weird split between parameters supplied at construction and
at begin. If we supplied all at construction, we'd have to do extra work
to compute arguments that don't even apply. If we supplied all at begin,
then all the references would become pointers, and would be null for much of
the lifetime of the object.
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+326 lines, -166 lines) |
Patch |
 |
M |
Source/core/paint/BlockPainter.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/BoxPainter.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/CompositingRecorder.h
|
View
|
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/CompositingRecorder.cpp
|
View
|
|
1 chunk |
+17 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/DeprecatedPaintLayerPainter.cpp
|
View
|
|
13 chunks |
+31 lines, -33 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/FileUploadControlPainter.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/FloatClipRecorder.h
|
View
|
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/paint/FloatClipRecorder.cpp
|
View
|
|
1 chunk |
+25 lines, -9 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/InlineTextBoxPainter.cpp
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/LayerClipRecorder.h
|
View
|
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/LayerClipRecorder.cpp
|
View
|
|
2 chunks |
+34 lines, -16 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/PartPainter.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/ReplacedPainter.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/RoundedInnerRectClipper.h
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/RoundedInnerRectClipper.cpp
|
View
|
|
2 chunks |
+40 lines, -20 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/SVGContainerPainter.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/SVGForeignObjectPainter.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/SVGRootPainter.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/SVGShapePainter.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/ScopeRecorder.h
|
View
|
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/paint/ScopeRecorder.cpp
|
View
|
|
1 chunk |
+17 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/ScrollRecorder.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/paint/ScrollRecorder.cpp
|
View
|
|
1 chunk |
+26 lines, -9 lines |
0 comments
|
Download
|
 |
M |
Source/core/svg/graphics/SVGImage.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/platform/graphics/paint/ClipRecorder.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/platform/graphics/paint/ClipRecorder.cpp
|
View
|
|
1 chunk |
+26 lines, -9 lines |
0 comments
|
Download
|
 |
M |
Source/platform/graphics/paint/DrawingRecorder.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/platform/graphics/paint/DrawingRecorder.cpp
|
View
|
|
2 chunks |
+48 lines, -32 lines |
0 comments
|
Download
|
Total messages: 3 (1 generated)
|