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

Issue 326123003: RenderTextHarfBuzz: Decide run direction by BiDi embedding level (Closed)

Created:
6 years, 6 months ago by ckocagil
Modified:
6 years, 6 months ago
Reviewers:
msw
CC:
chromium-reviews
Visibility:
Public.

Description

RenderTextHarfBuzz: Decide run direction by BiDi embedding level BUG=382178 NOTRY=true R=msw Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276379

Patch Set 1 #

Total comments: 7

Patch Set 2 : comments addressed #

Total comments: 2

Patch Set 3 : gcc pls #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -42 lines) Patch
M ui/gfx/render_text_harfbuzz.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M ui/gfx/render_text_harfbuzz.cc View 1 3 chunks +39 lines, -41 lines 0 comments Download
M ui/gfx/render_text_unittest.cc View 1 2 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
ckocagil
Also does minor refactoring by replacing the fake_runs case with an early return.
6 years, 6 months ago (2014-06-10 16:14:38 UTC) #1
msw
https://codereview.chromium.org/326123003/diff/1/ui/gfx/render_text_harfbuzz.cc File ui/gfx/render_text_harfbuzz.cc (right): https://codereview.chromium.org/326123003/diff/1/ui/gfx/render_text_harfbuzz.cc#newcode868 ui/gfx/render_text_harfbuzz.cc:868: // to crash/misbehave since they expect non-zero text metrics ...
6 years, 6 months ago (2014-06-10 17:42:52 UTC) #2
msw
Also, please add a unit test :)
6 years, 6 months ago (2014-06-10 17:54:32 UTC) #3
ckocagil
https://codereview.chromium.org/326123003/diff/1/ui/gfx/render_text_harfbuzz.cc File ui/gfx/render_text_harfbuzz.cc (right): https://codereview.chromium.org/326123003/diff/1/ui/gfx/render_text_harfbuzz.cc#newcode868 ui/gfx/render_text_harfbuzz.cc:868: // to crash/misbehave since they expect non-zero text metrics ...
6 years, 6 months ago (2014-06-10 19:12:52 UTC) #4
msw
https://codereview.chromium.org/326123003/diff/1/ui/gfx/render_text_harfbuzz.cc File ui/gfx/render_text_harfbuzz.cc (right): https://codereview.chromium.org/326123003/diff/1/ui/gfx/render_text_harfbuzz.cc#newcode900 ui/gfx/render_text_harfbuzz.cc:900: run->is_rtl = (run->level % 2) == 1; On 2014/06/10 ...
6 years, 6 months ago (2014-06-10 20:47:57 UTC) #5
ckocagil
https://codereview.chromium.org/326123003/diff/1/ui/gfx/render_text_harfbuzz.cc File ui/gfx/render_text_harfbuzz.cc (right): https://codereview.chromium.org/326123003/diff/1/ui/gfx/render_text_harfbuzz.cc#newcode900 ui/gfx/render_text_harfbuzz.cc:900: run->is_rtl = (run->level % 2) == 1; I think ...
6 years, 6 months ago (2014-06-11 07:18:09 UTC) #6
msw
lgtm with an important question for followup. https://codereview.chromium.org/326123003/diff/1/ui/gfx/render_text_harfbuzz.cc File ui/gfx/render_text_harfbuzz.cc (right): https://codereview.chromium.org/326123003/diff/1/ui/gfx/render_text_harfbuzz.cc#newcode900 ui/gfx/render_text_harfbuzz.cc:900: run->is_rtl = ...
6 years, 6 months ago (2014-06-11 07:54:19 UTC) #7
msw
On 2014/06/11 07:54:19, msw wrote: > lgtm with an important question for followup. > > ...
6 years, 6 months ago (2014-06-11 07:56:43 UTC) #8
ckocagil
The CQ bit was checked by ckocagil@chromium.org
6 years, 6 months ago (2014-06-11 08:09:13 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ckocagil@chromium.org/326123003/20001
6 years, 6 months ago (2014-06-11 08:10:22 UTC) #10
ckocagil
The CQ bit was checked by ckocagil@chromium.org
6 years, 6 months ago (2014-06-11 09:32:48 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ckocagil@chromium.org/326123003/40001
6 years, 6 months ago (2014-06-11 09:35:33 UTC) #12
ckocagil
The CQ bit was unchecked by ckocagil@chromium.org
6 years, 6 months ago (2014-06-11 13:26:22 UTC) #13
ckocagil
The CQ bit was checked by ckocagil@chromium.org
6 years, 6 months ago (2014-06-11 13:26:41 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ckocagil@chromium.org/326123003/40001
6 years, 6 months ago (2014-06-11 13:28:04 UTC) #15
commit-bot: I haz the power
Change committed as 276379
6 years, 6 months ago (2014-06-11 13:29:46 UTC) #16
ckocagil
6 years, 6 months ago (2014-06-11 14:21:25 UTC) #17
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/324413002/ by ckocagil@chromium.org.

The reason for reverting is: Memory leak:
http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20LSan%20Te....

Powered by Google App Engine
This is Rietveld 408576698