)]}' { "commit": "c7b6d3a06f34bcb2f7e01d19fca75bb7b10665a3", "tree": "098749a807015091b519bd85d7dd388c16aa0e17", "parents": [ "5f66d9b61b2ea6b4ddaa5773ceb414c2f97843fe" ], "author": { "name": "Etienne Bergeron", "email": "etienneb@chromium.org", "time": "Sat Nov 09 01:14:19 2019" }, "committer": { "name": "Commit Bot", "email": "commit-bot@chromium.org", "time": "Sat Nov 09 01:14:19 2019" }, "message": "Fix apply styles with range to support graphemes\n\nThis CL is adding support for graphemes with the RenderText styles.\n\nThe range of a style needs to be enlarge to the whole grapheme. Otherwise,\nwe can get cases where an emoji or a ligature can be split apart\nduring the ItemizeText(...) phase.\n\nBug: 1020841\nChange-Id: I8e6e49c5d6250a907d8d4ed5a13dc8b16421592e\nReviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1903948\nCommit-Queue: Etienne Bergeron \u003cetienneb@chromium.org\u003e\nReviewed-by: Alexei Svitkine \u003casvitkine@chromium.org\u003e\nReviewed-by: Robert Liao \u003crobliao@chromium.org\u003e\nCr-Commit-Position: refs/heads/master@{#714051}\n", "tree_diff": [ { "type": "modify", "old_id": "25212c66a60f7d9f1df57b02e1db45b65a6a834c", "old_mode": 33188, "old_path": "ui/gfx/render_text.cc", "new_id": "39356929839067c508a6006d991374acf2957caa", "new_mode": 33188, "new_path": "ui/gfx/render_text.cc" }, { "type": "modify", "old_id": "08470059cd8d467e7887f88a3b9d145f0ac20b72", "old_mode": 33188, "old_path": "ui/gfx/render_text.h", "new_id": "2495fa0593fee8702c3220071dc8bba11b344b05", "new_mode": 33188, "new_path": "ui/gfx/render_text.h" }, { "type": "modify", "old_id": "46e2e78e83b40ff1fc2c57a3c3da7ef9f7f3e1a5", "old_mode": 33188, "old_path": "ui/gfx/render_text_unittest.cc", "new_id": "c972f9a71d67bf690d8e06577f7ed120eff82d3c", "new_mode": 33188, "new_path": "ui/gfx/render_text_unittest.cc" } ] }