ScopedPtrMap -> 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 Review URL: https://codereview.chromium.org/1456703004 Cr-Commit-Position: refs/heads/master@{#360461}
Showing
Please register or sign in to comment