|
Converted LayerImpl::bounds() to return SizeF.
Since bounds includes bounds_delta, which is SizeF, it makes sense to return
the floating point sum of these two values. In call sites broken by the
change, the returned value is converted to Size using ToCeiledSize to
preserve the current snapping behavior, though in most (all?) these cases
the layer bounds are expected to be integral anyway.
BUG=
Committed: https://crrev.com/c7935852d9590e2456e92c4ad2d0b48c816ec5ed
Cr-Commit-Position: refs/heads/master@{#298439}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+208 lines, -116 lines) |
Patch |
 |
M |
cc/debug/debug_rect_history.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/layers/delegated_renderer_layer_impl.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/heads_up_display_layer_impl.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer_impl.h
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer_impl.cc
|
View
|
|
3 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer_impl_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/layers/painted_scrollbar_layer_impl.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/picture_image_layer_impl_unittest.cc
|
View
|
|
3 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/layers/picture_layer.cc
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/picture_layer_impl.cc
|
View
|
|
3 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/layers/picture_layer_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/ui_resource_layer_impl.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/ui_resource_layer_impl_unittest.cc
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/test/layer_tree_json_parser.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/trees/damage_tracker.cc
|
View
|
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/damage_tracker_unittest.cc
|
View
|
|
5 chunks |
+10 lines, -7 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_common_unittest.cc
|
View
|
|
35 chunks |
+108 lines, -34 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl_unittest.cc
|
View
|
|
5 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest.cc
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest_scroll.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_impl.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_impl.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_impl_unittest.cc
|
View
|
|
22 chunks |
+22 lines, -22 lines |
0 comments
|
Download
|
 |
M |
cc/trees/occlusion_tracker_unittest.cc
|
View
|
|
4 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/trees/tree_synchronizer_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 26 (4 generated)
|