|
Use references in RenderBlock and RenderBlockFlow methods
RenderBlock and RenderBlockFlow has several methods that take pointers
but those methods assumes that the objects will never be NULL. We
should replace them by references. This makes the caller code safer.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186114
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+281 lines, -280 lines) |
Patch |
|
M |
Source/core/rendering/RenderBlock.h
|
View
|
|
3 chunks |
+16 lines, -16 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderBlock.cpp
|
View
|
1
|
7 chunks |
+24 lines, -24 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderBlockFlow.h
|
View
|
1
|
6 chunks |
+24 lines, -24 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderBlockFlow.cpp
|
View
|
1
|
51 chunks |
+153 lines, -153 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderBlockLineLayout.cpp
|
View
|
1
|
10 chunks |
+14 lines, -14 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderBox.cpp
|
View
|
1
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderFieldset.cpp
|
View
|
1
|
3 chunks |
+12 lines, -11 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderFlexibleBox.cpp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderGrid.cpp
|
View
|
|
8 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderTable.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderTable.cpp
|
View
|
1
|
3 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/line/BreakingContextInlineHeaders.h
|
View
|
1
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/line/LineBreaker.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/rendering/shapes/ShapeOutsideInfo.cpp
|
View
|
1
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
Total messages: 9 (2 generated)
|