|
cc: Make the ScopedPtrVector and ScopedPtrDeque containers act like STL vector and deque.
These classes used methods to match the webcore classes and ease
migration. Now they are at odds with the STL versions of these containers.
Rename the methods, and change arguments from indexes to iterators, to
match the STL containers.
isEmpty() => empty()
last() => back()
first() => front()
Peek() => at()
append() => push_back()
insert(index, value) => insert(iterator, value)
remove(index) => erase(iterator) and erase(iterator, iterator)
take(index) => take(iterator)
takeFront() => take_front()
takeBack() => take_back()
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175722
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+319 lines, -199 lines) |
Patch |
 |
M |
cc/cc.gyp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
cc/delegated_renderer_layer_impl.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
cc/direct_renderer.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/gl_renderer_pixeltest.cc
|
View
|
1
2
3
|
2 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
cc/gl_renderer_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/keyframed_animation_curve.cc
|
View
|
1
|
5 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
 |
M |
cc/layer_animation_controller.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/layer_animation_controller.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+39 lines, -29 lines |
0 comments
|
Download
|
 |
M |
cc/layer_impl.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/layer_tree_host_impl.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
 |
M |
cc/layer_tree_host_impl_unittest.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/layer_tree_host_unittest_context.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/layer_tree_impl.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/picture_layer_tiling_set.cc
|
View
|
1
2
3
|
3 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
M |
cc/quad_culler.cc
|
View
|
1
2
3
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/render_pass.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/render_pass_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/render_surface_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/resource_provider_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
cc/scoped_ptr_algorithm.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/scoped_ptr_deque.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+50 lines, -22 lines |
0 comments
|
Download
|
 |
M |
cc/scoped_ptr_vector.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+76 lines, -25 lines |
0 comments
|
Download
|
 |
M |
cc/software_renderer_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/test/mock_quad_culler.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/test/render_pass_test_common.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/test/render_pass_test_utils.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/texture_uploader.cc
|
View
|
1
2
3
|
3 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
cc/tile_manager.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/tree_synchronizer.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/cc_messages.cc
|
View
|
1
2
3
4
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/common/cc_messages_unittest.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+23 lines, -22 lines |
0 comments
|
Download
|
Total messages: 28 (0 generated)
|