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

Issue 14410002: cc: Add PRESUBMIT check for passing simple gfx types by value. (Closed)

Created:
7 years, 8 months ago by danakj
Modified:
7 years, 6 months ago
Reviewers:
enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org, backer, piman
Visibility:
Public.

Description

cc: Add PRESUBMIT check for passing simple types by value. This will save reviewer cycles, hooray. R=enne BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195719

Patch Set 1 : #

Total comments: 4

Patch Set 2 : add base::Time(Ticks) #

Patch Set 3 : alphabetize #

Patch Set 4 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -2 lines) Patch
M cc/PRESUBMIT.py View 1 2 3 3 chunks +43 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
danakj
7 years, 8 months ago (2013-04-22 18:31:10 UTC) #1
enne (OOO)
https://codereview.chromium.org/14410002/diff/4001/cc/PRESUBMIT.py File cc/PRESUBMIT.py (right): https://codereview.chromium.org/14410002/diff/4001/cc/PRESUBMIT.py#newcode66 cc/PRESUBMIT.py:66: white_list, <_< >_> https://codereview.chromium.org/14410002/diff/4001/cc/PRESUBMIT.py#newcode106 cc/PRESUBMIT.py:106: r'\bconst +' + '(?P<type>gfx::(%s))&' ...
7 years, 8 months ago (2013-04-22 18:40:22 UTC) #2
danakj
https://codereview.chromium.org/14410002/diff/4001/cc/PRESUBMIT.py File cc/PRESUBMIT.py (right): https://codereview.chromium.org/14410002/diff/4001/cc/PRESUBMIT.py#newcode66 cc/PRESUBMIT.py:66: white_list, On 2013/04/22 18:40:23, enne wrote: > <_< > ...
7 years, 8 months ago (2013-04-22 18:43:34 UTC) #3
danakj
I think we don't want const refs to these types on the stack for the ...
7 years, 8 months ago (2013-04-22 20:57:30 UTC) #4
enne (OOO)
Ok, lgtm. Before committing this, can you run this regex over cc/ and make sure ...
7 years, 8 months ago (2013-04-22 22:04:09 UTC) #5
danakj
There's a lot of matches right now. I can do them in this CL or ...
7 years, 8 months ago (2013-04-23 01:46:52 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/14410002/16001
7 years, 8 months ago (2013-04-23 02:14:38 UTC) #7
commit-bot: I haz the power
Change committed as 195719
7 years, 8 months ago (2013-04-23 05:16:42 UTC) #8
Tom Hudson
Where did this come from? Gardening Blink I see changes being made in the opposite ...
7 years, 6 months ago (2013-05-29 08:38:48 UTC) #9
danakj
7 years, 6 months ago (2013-05-29 11:38:56 UTC) #10
See crbug.com/159273
On May 29, 2013 10:38 AM, <tomhudson@chromium.org> wrote:

> Where did this come from? Gardening Blink I see changes being made in the
> opposite direction (passing a 4-int class by const ref instead of by
> copy), and
> I can't find anything about it in the google or chromium style guides.
> Also, it
> gives me ARM performance worries.
>
>
https://codereview.chromium.**org/14410002/<https://codereview.chromium.org/1...
>

Powered by Google App Engine
This is Rietveld 408576698