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

Issue 111833006: Avoiding multiple text/string parsing while creating TextRun (Closed)

Created:
7 years ago by h.joshi
Modified:
6 years, 11 months ago
CC:
blink-reviews, jamesr, krit, zoltan1, dsinclair, bemjb+rendering_chromium.org, eae+blinkwatch, leviw+renderwatch, danakj, Rik, f(malita), jchaffraix+rendering, Stephen Chennney, pdr., rwlbuis, leviw_travelin_and_unemployed
Base URL:
https://chromium.googlesource.com/chromium/blink.git@FontOptPatch1
Visibility:
Public.

Description

Avoiding multiple text/string parsing while creating TextRun. When TextRun is created we parse Text String but we are not storing CodePath. In InlineTextBox check was missing for Simple Code Path due to which multiple calls were made to "CodePath" to get code path for current text. Plus when Run is made with complete string we can store CodePath and use the same. Bug=330502 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165203

Patch Set 1 #

Patch Set 2 : Fixing review comments for rebasing files #

Total comments: 13

Patch Set 3 : Fixing comments given by eseidel #

Patch Set 4 : Fixing compile error for last commit #

Patch Set 5 : Comment fixing and Code Merge #

Patch Set 6 : Fixing merge issues after LGTM #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -1 line) Patch
A PerformanceTests/Layout/SimpleTextPathLineLayout.html View 1 2 3 4 1 chunk +44 lines, -0 lines 0 comments Download
M Source/core/rendering/InlineTextBox.cpp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/svg/SVGTextMetricsBuilder.cpp View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 23 (0 generated)
h.joshi
7 years ago (2013-12-11 07:05:01 UTC) #1
Stephen Chennney
Please create a bug. Also, you will need to rebase as many of the files ...
7 years ago (2013-12-11 13:07:38 UTC) #2
h.joshi
On 2013/12/11 13:07:38, Stephen Chenney wrote: > Please create a bug. > > Also, you ...
6 years, 12 months ago (2013-12-23 10:26:11 UTC) #3
h.joshi
On 2013/12/23 10:26:11, h.joshi wrote: > On 2013/12/11 13:07:38, Stephen Chenney wrote: > > Please ...
6 years, 12 months ago (2013-12-27 04:12:46 UTC) #4
eseidel
Emil is your best reviewer by far. https://codereview.chromium.org/111833006/diff/20001/Source/core/rendering/RenderText.cpp File Source/core/rendering/RenderText.cpp (right): https://codereview.chromium.org/111833006/diff/20001/Source/core/rendering/RenderText.cpp#newcode59 Source/core/rendering/RenderText.cpp:59: CodePath someCodePath; ...
6 years, 12 months ago (2013-12-27 04:36:44 UTC) #5
leviw_travelin_and_unemployed
https://codereview.chromium.org/111833006/diff/20001/Source/platform/graphics/TextRun.cpp File Source/platform/graphics/TextRun.cpp (right): https://codereview.chromium.org/111833006/diff/20001/Source/platform/graphics/TextRun.cpp#newcode2 Source/platform/graphics/TextRun.cpp:2: * Copyright (C) 2011 Apple Inc. All rights reserved. ...
6 years, 12 months ago (2013-12-27 04:46:31 UTC) #6
h.joshi
On 2013/12/27 04:36:44, eseidel wrote: > Emil is your best reviewer by far. > > ...
6 years, 12 months ago (2013-12-27 10:20:56 UTC) #7
h.joshi
On 2013/12/27 10:20:56, h.joshi wrote: > On 2013/12/27 04:36:44, eseidel wrote: > > Emil is ...
6 years, 12 months ago (2013-12-27 10:26:39 UTC) #8
h.joshi
On 2013/12/27 04:46:31, Levi wrote: > https://codereview.chromium.org/111833006/diff/20001/Source/platform/graphics/TextRun.cpp > File Source/platform/graphics/TextRun.cpp (right): > > https://codereview.chromium.org/111833006/diff/20001/Source/platform/graphics/TextRun.cpp#newcode2 > ...
6 years, 12 months ago (2013-12-27 10:56:46 UTC) #9
leviw_travelin_and_unemployed
Adding eae :)
6 years, 11 months ago (2013-12-27 22:37:26 UTC) #10
eae
Overall this change looks good but I do have a couple of questions and concerns. ...
6 years, 11 months ago (2013-12-30 19:29:14 UTC) #11
eae
Also, please update the change description to better explain what you are changing and why. ...
6 years, 11 months ago (2013-12-30 19:30:30 UTC) #12
h.joshi
Pls take a look at comments added. https://codereview.chromium.org/111833006/diff/20001/Source/core/rendering/InlineTextBox.cpp File Source/core/rendering/InlineTextBox.cpp (right): https://codereview.chromium.org/111833006/diff/20001/Source/core/rendering/InlineTextBox.cpp#newcode1526 Source/core/rendering/InlineTextBox.cpp:1526: run.setCharacterScanForCodePath(!textRenderer->canUseSimpleFontCodePath()); On ...
6 years, 11 months ago (2013-12-31 06:07:43 UTC) #13
h.joshi
On 2013/12/30 19:30:30, eae wrote: > Also, please update the change description to better explain ...
6 years, 11 months ago (2013-12-31 07:18:48 UTC) #14
eae
On 2013/12/31 07:18:48, h.joshi wrote: > On 2013/12/30 19:30:30, eae wrote: > > Also, please ...
6 years, 11 months ago (2014-01-03 17:12:06 UTC) #15
hj
On 2014/01/03 17:12:06, eae wrote: > On 2013/12/31 07:18:48, h.joshi wrote: > > On 2013/12/30 ...
6 years, 11 months ago (2014-01-07 06:36:00 UTC) #16
h.joshi
On 2014/01/07 06:36:00, hj wrote: > On 2014/01/03 17:12:06, eae wrote: > > On 2013/12/31 ...
6 years, 11 months ago (2014-01-15 10:43:24 UTC) #17
eae
Awesome, thank you. LGTM
6 years, 11 months ago (2014-01-15 17:02:31 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/h.joshi@samsung.com/111833006/350001
6 years, 11 months ago (2014-01-16 02:29:47 UTC) #19
hj
On 2014/01/15 17:02:31, eae wrote: > Awesome, thank you. > > LGTM Thank you
6 years, 11 months ago (2014-01-16 03:47:18 UTC) #20
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=22879
6 years, 11 months ago (2014-01-16 04:47:47 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/h.joshi@samsung.com/111833006/510001
6 years, 11 months ago (2014-01-16 05:07:47 UTC) #22
commit-bot: I haz the power
6 years, 11 months ago (2014-01-16 07:30:08 UTC) #23
Message was sent while issue was closed.
Change committed as 165203

Powered by Google App Engine
This is Rietveld 408576698