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

Issue 1196213002: Remove duplicate measure hyphen string method (Closed)

Created:
5 years, 6 months ago by h.joshi
Modified:
5 years, 6 months ago
Reviewers:
eae, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Remove duplicate measure hyphen string method Remove duplicate measure hyphen string method. We are having two methods to calculate Hyphen string width. One in LayoutText and another in BreakingContextInlineHeaders. This patch removed duplicated method from BreakingContextInlineHeaders. TEST=none Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197692

Patch Set 1 #

Total comments: 2

Patch Set 2 : Making hyphenWidth as inline and removing static nature #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -17 lines) Patch
M Source/core/layout/LayoutBlockFlowLine.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/layout/LayoutText.h View 1 3 chunks +9 lines, -0 lines 0 comments Download
M Source/core/layout/LayoutText.cpp View 1 3 chunks +1 line, -8 lines 0 comments Download
M Source/core/layout/line/BreakingContextInlineHeaders.h View 1 2 chunks +1 line, -8 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
h.joshi
Pls review.
5 years, 6 months ago (2015-06-22 07:07:49 UTC) #2
rwlbuis
https://codereview.chromium.org/1196213002/diff/1/Source/core/layout/LayoutText.h File Source/core/layout/LayoutText.h (right): https://codereview.chromium.org/1196213002/diff/1/Source/core/layout/LayoutText.h#newcode144 Source/core/layout/LayoutText.h:144: static float hyphenWidth(LayoutText*, const Font&, TextDirection); The duplication is ...
5 years, 6 months ago (2015-06-22 17:23:12 UTC) #4
h.joshi
Made changes, pls review. https://codereview.chromium.org/1196213002/diff/1/Source/core/layout/LayoutText.h File Source/core/layout/LayoutText.h (right): https://codereview.chromium.org/1196213002/diff/1/Source/core/layout/LayoutText.h#newcode144 Source/core/layout/LayoutText.h:144: static float hyphenWidth(LayoutText*, const Font&, ...
5 years, 6 months ago (2015-06-23 04:30:12 UTC) #5
rwlbuis
On 2015/06/23 04:30:12, h.joshi wrote: > Made changes, pls review. > > https://codereview.chromium.org/1196213002/diff/1/Source/core/layout/LayoutText.h > File ...
5 years, 6 months ago (2015-06-23 15:50:09 UTC) #6
rwlbuis
PTAL
5 years, 6 months ago (2015-06-23 15:51:12 UTC) #8
eae
LGTM
5 years, 6 months ago (2015-06-23 16:44:30 UTC) #9
h.joshi
Thank you Emil.
5 years, 6 months ago (2015-06-23 23:07:15 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1196213002/20001
5 years, 6 months ago (2015-06-23 23:08:08 UTC) #12
commit-bot: I haz the power
5 years, 6 months ago (2015-06-24 01:13:32 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197692

Powered by Google App Engine
This is Rietveld 408576698