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

Issue 646853003: Cleanup return values in SnapshotFileDetails (Closed)

Created:
6 years, 2 months ago by dvadym
Modified:
6 years, 2 months ago
CC:
chromium-reviews, Lei Zhang, tommycli, Greg Billock, vandebo (ex-Chrome)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Cleanup return values in SnapshotFileDetails This CL turns const by value return values into const by ref. Replacing const value by a const ref when a member variable is safe, because the member variable will live at least as long as the temporary object returned now. It can also be more efficient, because returning a ref can spare copying. BUG=393155 Committed: https://crrev.com/571b18256a44c782c1ac0c12bcaf13a73c0c497c Cr-Commit-Position: refs/heads/master@{#299161}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M chrome/browser/media_galleries/linux/snapshot_file_details.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (3 generated)
dvadym
Hi Oren, Could you please have a look? Best regards, Vadym
6 years, 2 months ago (2014-10-10 11:27:14 UTC) #2
Oren Blasberg
lgtm
6 years, 2 months ago (2014-10-10 18:07:04 UTC) #3
Lei Zhang
lgtm
6 years, 2 months ago (2014-10-10 18:35:33 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/646853003/1
6 years, 2 months ago (2014-10-10 18:36:53 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
6 years, 2 months ago (2014-10-10 19:27:34 UTC) #8
commit-bot: I haz the power
6 years, 2 months ago (2014-10-10 19:28:17 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/571b18256a44c782c1ac0c12bcaf13a73c0c497c
Cr-Commit-Position: refs/heads/master@{#299161}

Powered by Google App Engine
This is Rietveld 408576698