DescriptionUse ScopedVector instead of std::vector in case of repeated messages.
During using this library, I realized that we want to use DISALLOW_COPY_AND_ASSIGN
for the messages and RepeatedMessageConverter is inconsistent with such ones
because it uses a copy constructor as "push_back(NestedType())". Then
I now think to use ScopedVector.
BUG=109375
TEST=passed locally
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=117786
Patch Set 1 #
Total comments: 4
Patch Set 2 : Modify all std::vector to ScopedVector #Patch Set 3 : git rebase and merge #
Messages
Total messages: 14 (0 generated)
|