Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Issue 1462763002: Remove ScopedPtrMap from /cc (Closed)

Created:
5 years, 1 month ago by limasdf
Modified:
5 years ago
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove ScopedPtrMap from /cc C++ 11 enables containers that contain move-only type, scoped_ptr. So, Use std::map<key, scoped_ptr<Foo>> instead of ScopedPtrMap. BUG=554291 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/cdbfa816b2cae37df31701d0415bac84f414e616 Cr-Commit-Position: refs/heads/master@{#361315}

Patch Set 1 : #

Total comments: 9

Patch Set 2 : Matt's review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -8 lines) Patch
M cc/resources/resource_pool.h View 2 chunks +2 lines, -3 lines 0 comments Download
M cc/resources/resource_pool.cc View 1 4 chunks +6 lines, -5 lines 0 comments Download

Messages

Total messages: 25 (12 generated)
limasdf
Dear Mr. Matt, Would you mind if I ask for your wisdom to solve this? ...
5 years, 1 month ago (2015-11-19 13:48:51 UTC) #5
Matt Giuca
> Dear Mr. Matt, It's Dr. Matt :) https://codereview.chromium.org/1462763002/diff/40001/cc/resources/resource_pool.cc File cc/resources/resource_pool.cc (right): https://codereview.chromium.org/1462763002/diff/40001/cc/resources/resource_pool.cc#newcode109 cc/resources/resource_pool.cc:109: in_use_resources_[resource->id()] ...
5 years, 1 month ago (2015-11-19 23:42:26 UTC) #6
limasdf
Thank you, Dr. Matt! :) PTAL! https://codereview.chromium.org/1462763002/diff/40001/cc/resources/resource_pool.cc File cc/resources/resource_pool.cc (right): https://codereview.chromium.org/1462763002/diff/40001/cc/resources/resource_pool.cc#newcode109 cc/resources/resource_pool.cc:109: in_use_resources_[resource->id()] = it->Pass(); ...
5 years, 1 month ago (2015-11-20 15:20:05 UTC) #7
Matt Giuca
Thanks, limasdf! LGTM. (Though you will need an OWNER's approval as well.) And thanks for ...
5 years, 1 month ago (2015-11-23 02:17:49 UTC) #8
limasdf
I am happy to do this! Adding enne, the owner of /cc
5 years, 1 month ago (2015-11-23 03:46:27 UTC) #11
vmpstr
lgtm
5 years, 1 month ago (2015-11-23 19:04:19 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1462763002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1462763002/60001
5 years, 1 month ago (2015-11-23 21:04:18 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/133034)
5 years, 1 month ago (2015-11-23 22:52:33 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1462763002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1462763002/60001
5 years, 1 month ago (2015-11-23 23:09:12 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/133224)
5 years, 1 month ago (2015-11-24 01:39:42 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1462763002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1462763002/60001
5 years ago (2015-11-24 11:03:58 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:60001)
5 years ago (2015-11-24 11:32:18 UTC) #24
commit-bot: I haz the power
5 years ago (2015-11-24 11:33:10 UTC) #25
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/cdbfa816b2cae37df31701d0415bac84f414e616
Cr-Commit-Position: refs/heads/master@{#361315}

Powered by Google App Engine
This is Rietveld 408576698