|
|
DescriptionReturning const by ref instead of const by value in File::name() api
BUG=393155
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200886
Patch Set 1 #
Messages
Total messages: 21 (8 generated)
shiva.jm@samsung.com changed reviewers: + fmalita@chromium.org, hiroshige@chromium.org
pls have a look.
hiroshige@chromium.org changed reviewers: + sigbjornf@opera.com
https://codereview.chromium.org/157363003/ replaced "const String& name()" with "const String name()" and I'm not sure why. +sof@, what was the intention for the change? Can we safely revert it by this CL?
On 2015/08/19 07:38:25, hiroshige (ooo zombie) wrote: > https://codereview.chromium.org/157363003/ replaced "const String& name()" with > "const String name()" and I'm not sure why. > > +sof@, what was the intention for the change? Can we safely revert it by this > CL? A while ago, but it seemed like a questionable optimization detail to keep around. If you want to push for this though, please do & revert.
On 2015/08/19 07:47:28, sof wrote: > On 2015/08/19 07:38:25, hiroshige (ooo zombie) wrote: > > https://codereview.chromium.org/157363003/ replaced "const String& name()" > with > > "const String name()" and I'm not sure why. > > > > +sof@, what was the intention for the change? Can we safely revert it by this > > CL? > > A while ago, but it seemed like a questionable optimization detail to keep > around. If you want to push for this though, please do & revert. As per issue 393155 comments, it's more efficient to return reference.
shiva.jm@samsung.com changed reviewers: + jsbell@chromium.org, yosin@chromium.org
pls have a look.
On 2015/08/20 05:33:21, shiva.jm wrote: > pls have a look. asan/msan bots are happy. non-owner lgtm.
lgtm
The CQ bit was checked by shiva.jm@samsung.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1305463002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1305463002/1
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_d...)
The CQ bit was checked by shiva.jm@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1305463002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1305463002/1
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_d...)
The CQ bit was checked by shiva.jm@samsung.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1305463002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1305463002/1
Message was sent while issue was closed.
Committed patchset #1 (id:1) as https://src.chromium.org/viewvc/blink?view=rev&revision=200886 |