Description(trybot test) base: Make ScopedPtrMap use DISALLOW_COPY_AND_ASSIGN
Currently the class uses MOVE_ONLY_TYPE_WITH_MOVE_CONSTRUCTOR_FOR_CPP_03
which adds a .Pass() method and works for passing with Callback. But
there are no users of this passing ownership in Callback, so switch
to the general DISALLOW_COPY_AND_ASSIGN macro.
This unconvered a use of ScopedPtrMap::Pass() though, so I just changed
it to use a std::map instead of ScopedPtrMap.
R=Nico, zea@chromium.org
BUG=557422, 554291
patch from issue 1480773002 at patchset 40001 (http://crrev.com/1480773002#ps40001)
Patch Set 1 #
Total comments: 3
Messages
Total messages: 8 (3 generated)
|