DescriptionScopedPtrMap -> std::map from apps, ash, media, ui
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().
TBR=avi@chromium.org
BUG=554291, 557422
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/918cc2e94b4592f9211390784de4bb8534b59cc4
Cr-Commit-Position: refs/heads/master@{#360745}
Patch Set 1 : #Patch Set 2 : fix compile #Patch Set 3 : Fix ash_unittests compile error #
Messages
Total messages: 27 (15 generated)
|