|
cc: Make raster source members const
Both PicturePileImpl and DisplayListRasterSource get used on multiple
threads, so should not be mutable.
Unfortunately, many tests try to mutate either the recordings or the
state of PicturePileImpl, so they all need to be changed to touch the
recording source and a bunch of state setters need to be moved from
raster source to recording source.
Committed: https://crrev.com/ffe5781a8645d2fcb9f15a218aca4a3be5fe452c
Cr-Commit-Position: refs/heads/master@{#316364}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+481 lines, -366 lines) |
Patch |
 |
M |
cc/layers/picture_layer.cc
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/layers/picture_layer_impl_unittest.cc
|
View
|
|
8 chunks |
+39 lines, -25 lines |
0 comments
|
Download
|
 |
M |
cc/output/renderer_pixeltest.cc
|
View
|
|
9 chunks |
+63 lines, -41 lines |
0 comments
|
Download
|
 |
M |
cc/resources/display_list_raster_source.h
|
View
|
1
|
3 chunks |
+15 lines, -14 lines |
0 comments
|
Download
|
 |
M |
cc/resources/display_list_raster_source.cc
|
View
|
|
2 chunks |
+2 lines, -10 lines |
0 comments
|
Download
|
 |
M |
cc/resources/display_list_recording_source.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/resources/display_list_recording_source.cc
|
View
|
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/resources/picture_pile.h
|
View
|
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/resources/picture_pile.cc
|
View
|
|
3 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/resources/picture_pile_impl.h
|
View
|
|
3 chunks |
+17 lines, -16 lines |
0 comments
|
Download
|
 |
M |
cc/resources/picture_pile_impl.cc
|
View
|
|
6 chunks |
+6 lines, -27 lines |
1 comment
|
Download
|
 |
M |
cc/resources/picture_pile_impl_unittest.cc
|
View
|
|
19 chunks |
+130 lines, -83 lines |
0 comments
|
Download
|
 |
M |
cc/resources/raster_source.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/resources/recording_source.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_picture_pile.h
|
View
|
|
4 chunks |
+44 lines, -0 lines |
1 comment
|
Download
|
 |
M |
cc/test/fake_picture_pile.cc
|
View
|
|
1 chunk |
+89 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_picture_pile_impl.h
|
View
|
|
4 chunks |
+10 lines, -49 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_picture_pile_impl.cc
|
View
|
|
6 chunks |
+24 lines, -95 lines |
0 comments
|
Download
|
Total messages: 7 (2 generated)
|