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

Issue 2325563005: s/Value/value/g for type trait value field in WebGLImageConversion.cpp (Closed)

Created:
4 years, 3 months ago by Łukasz Anforowicz
Modified:
4 years, 3 months ago
Reviewers:
danakj, chrishtr
CC:
chromium-reviews, dcheng
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

s/Value/value/g for type trait value field in WebGLImageConversion.cpp Lowercase |value| is desirable: - For consistency with other type traits: - in WTF - e.g. WTF::IsAssignable<T>::value - in standard library - e.g. std::is_base_of<T1, T2>::value - in v8 - e.g. IsIntegerArithmeticSafe<T, Lhs, Rhs>::value - To help |rewrite_to_chrome_style| tool. BUG=640749 Committed: https://crrev.com/1c4e7baae394ba46842f177de2829face052faa5 Cr-Commit-Position: refs/heads/master@{#418134}

Patch Set 1 #

Total comments: 3

Patch Set 2 : s/Value/value/g for type trait value field in WebGLImageConversion.cpp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -34 lines) Patch
M third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp View 1 16 chunks +34 lines, -34 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
Łukasz Anforowicz
Dana, can you take a look please?
4 years, 3 months ago (2016-09-09 00:06:05 UTC) #2
danakj
https://codereview.chromium.org/2325563005/diff/1/tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc File tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc (right): https://codereview.chromium.org/2325563005/diff/1/tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc#newcode100 tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc:100: static const bool Value = true; shouldn't it be ...
4 years, 3 months ago (2016-09-09 00:07:40 UTC) #3
danakj
https://codereview.chromium.org/2325563005/diff/1/tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc File tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc (right): https://codereview.chromium.org/2325563005/diff/1/tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc#newcode100 tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc:100: static const bool Value = true; On 2016/09/09 00:07:40, ...
4 years, 3 months ago (2016-09-09 00:08:31 UTC) #4
Łukasz Anforowicz
Thanks for the review - I've switched this CL to be just a manual rename ...
4 years, 3 months ago (2016-09-09 16:55:46 UTC) #7
Łukasz Anforowicz
chrishtr@, could you please take a look?
4 years, 3 months ago (2016-09-09 16:56:24 UTC) #9
chrishtr
Is this compatible with the chromium style guide? Deferring to danakj on that question..
4 years, 3 months ago (2016-09-09 17:54:57 UTC) #10
danakj
It's common practice to make type traits like this. Examples: https://cs.chromium.org/chromium/src/base/template_util.h?rcl=0&l=112 https://cs.chromium.org/chromium/src/third_party/WebKit/Source/wtf/TypeTraits.h?rcl=0&l=78 I think technically ...
4 years, 3 months ago (2016-09-09 18:28:00 UTC) #11
chrishtr
lgtm
4 years, 3 months ago (2016-09-12 23:11:55 UTC) #16
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/2325563005/20001
4 years, 3 months ago (2016-09-12 23:40:54 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-13 01:30:12 UTC) #20
commit-bot: I haz the power
4 years, 3 months ago (2016-09-13 01:32:00 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1c4e7baae394ba46842f177de2829face052faa5
Cr-Commit-Position: refs/heads/master@{#418134}

Powered by Google App Engine
This is Rietveld 408576698