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

Issue 2934223002: Utilize ComputeInlineBoxPosition in early-return style (Closed)

Created:
3 years, 6 months ago by yosin_UTC9
Modified:
3 years, 6 months ago
Reviewers:
yoichio, Xiaocheng
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Utilize ComputeInlineBoxPositionTempalte() in early-return style This patch changes |ComputeInlineBoxPositionTemplate()| to utilize early-return style to limit scope variable |inline_box|, which is the result of the function, for improving code health. BUG=707656 TEST=n/a; no behavior changes Review-Url: https://codereview.chromium.org/2934223002 Cr-Commit-Position: refs/heads/master@{#479610} Committed: https://chromium.googlesource.com/chromium/src/+/06b859c5dac92e22ea6db5c59643ce574d58ea3c

Patch Set 1 : 2017-06-14T18:03:38 #

Total comments: 2

Patch Set 2 : 2017-06-15T11:32:36 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -11 lines) Patch
M third_party/WebKit/Source/core/editing/VisibleUnits.cpp View 1 3 chunks +18 lines, -11 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
yosin_UTC9
PTAL
3 years, 6 months ago (2017-06-14 09:40:44 UTC) #5
Xiaocheng
lgtm https://codereview.chromium.org/2934223002/diff/1/third_party/WebKit/Source/core/editing/VisibleUnits.cpp File third_party/WebKit/Source/core/editing/VisibleUnits.cpp (right): https://codereview.chromium.org/2934223002/diff/1/third_party/WebKit/Source/core/editing/VisibleUnits.cpp#newcode825 third_party/WebKit/Source/core/editing/VisibleUnits.cpp:825: { nit: Please add a TODO for removing ...
3 years, 6 months ago (2017-06-14 18:33:58 UTC) #8
yosin_UTC9
Thanks for reviewing! Committing... https://codereview.chromium.org/2934223002/diff/1/third_party/WebKit/Source/core/editing/VisibleUnits.cpp File third_party/WebKit/Source/core/editing/VisibleUnits.cpp (right): https://codereview.chromium.org/2934223002/diff/1/third_party/WebKit/Source/core/editing/VisibleUnits.cpp#newcode825 third_party/WebKit/Source/core/editing/VisibleUnits.cpp:825: { On 2017/06/14 at 18:33:58, ...
3 years, 6 months ago (2017-06-15 02:33:21 UTC) #9
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/2934223002/20001
3 years, 6 months ago (2017-06-15 02:33:36 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/392590)
3 years, 6 months ago (2017-06-15 02:40:44 UTC) #14
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/2934223002/20001
3 years, 6 months ago (2017-06-15 03:16:36 UTC) #16
commit-bot: I haz the power
3 years, 6 months ago (2017-06-15 05:16:55 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/06b859c5dac92e22ea6db5c59643...

Powered by Google App Engine
This is Rietveld 408576698