DescriptionMove MessageLoop TaskQueues to pointers.
We previously called std::swap on two std::queues. However, the C++ spec
does not define swap specializations for queues, so this does a full temporary
and copy. Instead add a level of indirection and swap the pointers.
BUG=20204
Patch Set 1 #
Total comments: 1
Patch Set 2 : Move to scoped pointers. #Patch Set 3 : scoped_ptr swap. #
Messages
Total messages: 5 (0 generated)
|