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

Issue 2734663002: Make much of gfx::Range[F] constexpr. (Closed)

Created:
3 years, 9 months ago by Peter Kasting
Modified:
3 years, 9 months ago
Reviewers:
Robert Sesek
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make much of gfx::Range[F] constexpr. Range is a simply class that contains a pair of values, and it's useful for tests to have constexpr objects of Range type. BUG=none TEST=none Review-Url: https://codereview.chromium.org/2734663002 Cr-Commit-Position: refs/heads/master@{#455260} Committed: https://chromium.googlesource.com/chromium/src/+/ad5e4c8145e3b79a8fc395f46b1371dabb62a01b

Patch Set 1 #

Patch Set 2 : Avoid std::min/max #

Patch Set 3 : Fix compile #

Total comments: 2

Patch Set 4 : size_t #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -156 lines) Patch
M ui/gfx/range/range.h View 1 3 chunks +36 lines, -19 lines 0 comments Download
M ui/gfx/range/range.cc View 1 1 chunk +0 lines, -55 lines 0 comments Download
M ui/gfx/range/range_f.h View 1 2 2 chunks +32 lines, -20 lines 0 comments Download
M ui/gfx/range/range_f.cc View 1 2 3 2 chunks +6 lines, -62 lines 0 comments Download

Messages

Total messages: 26 (20 generated)
Peter Kasting
Note that I had to avoid std::min()/max() in the header for now as it's constexpr ...
3 years, 9 months ago (2017-03-06 21:04:39 UTC) #12
Robert Sesek
Does all the new inlining cause any extra bloat, or is that minimized by the ...
3 years, 9 months ago (2017-03-06 21:27:58 UTC) #15
Peter Kasting
On 2017/03/06 21:27:58, Robert Sesek wrote: > Does all the new inlining cause any extra ...
3 years, 9 months ago (2017-03-07 00:08:01 UTC) #17
Robert Sesek
LGTM
3 years, 9 months ago (2017-03-07 14:31:55 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2734663002/60001
3 years, 9 months ago (2017-03-07 21:20:41 UTC) #23
commit-bot: I haz the power
3 years, 9 months ago (2017-03-07 22:40:30 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/ad5e4c8145e3b79a8fc395f46b13...

Powered by Google App Engine
This is Rietveld 408576698