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

Issue 2950763002: Introduce AdjustInlineBoxPositionForPrimaryDirection() for ComputeInlineBoxPosition() (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

Introduce AdjustInlineBoxPositionForPrimaryDirection() for ComputeInlineBoxPosition() This patch introduces |AdjustInlineBoxPositionForPrimaryDirection()| by moving code from then-clause of |AdjustInlineBoxPositionForTextNode()| with utilizing const-variable for improving readability. Note: The diff could be small but changing indentation makes diff larger. BUG=707656 TEST=n/a; no behavior changes Review-Url: https://codereview.chromium.org/2950763002 Cr-Commit-Position: refs/heads/master@{#481056} Committed: https://chromium.googlesource.com/chromium/src/+/59326d74274f028a233a2561f940a84675e0c967

Patch Set 1 : 2017-06-20T16:14:05 #

Patch Set 2 : 2017-06-20T18:53:06 rebase for win_clang bot #

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

Messages

Total messages: 20 (15 generated)
yosin_UTC9
PTAL
3 years, 6 months ago (2017-06-20 09:45:17 UTC) #9
Xiaocheng
lgtm
3 years, 6 months ago (2017-06-20 18:09:55 UTC) #14
Xiaocheng
Btw, you once used the trick that adds extra scopes to keep the original indentation, ...
3 years, 6 months ago (2017-06-20 18:11:12 UTC) #15
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/2950763002/40001
3 years, 6 months ago (2017-06-21 01:07:17 UTC) #17
commit-bot: I haz the power
3 years, 6 months ago (2017-06-21 01:11:12 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/59326d74274f028a233a2561f940...

Powered by Google App Engine
This is Rietveld 408576698