DescriptionScopedPtrMap -> std::map from /ui/gfx/image
C++ 11 enables containers that contain move-only type, scoped_ptr.
So, Use std::map<key, scoped_ptr<Foo>> instead of ScopedPtrMap.
also use std::move() instead of scoped_ptr::Pass().
BUG=554291, 557422
Committed: https://crrev.com/659c25756ef6c83ec07736f03d0d80bdfe32882d
Cr-Commit-Position: refs/heads/master@{#360461}
Patch Set 1 #
Total comments: 2
Patch Set 2 : use insert() #
Messages
Total messages: 10 (3 generated)
|